blob: 6b60146587f0d817e2911e0bdc956ace0bff2170 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/***
*cvt.h - definitions used by formatting routines
*
* Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
*
*Purpose:
* cvt.h contains definitions used by the formatting routines [efg]cvt and
* _output and _input. The value of CVTBUFSIZE is used to dimension
* arrays used to hold the maximum size double precision number plus some
* slop to aid in formatting.
* [Internal]
*
*Revision History:
* 12-11-87 JCR Added "_loadds" functionality
* 02-10-88 JCR Cleaned up white space
* 07-28-89 GJF Fixed copyright
* 10-30-89 GJF Fixed copyright (again)
* 02-28-90 GJF Added #ifndef _INC_CVT stuff. Also, removed some
* (now) useless preprocessor directives.
*
****/
#ifndef _INC_CVT
#define SHORT 1
#define LONG 2
#define USIGN 4
#define NEAR 8
#define FAR 16
#define OCTAL 8
#define DECIMAL 10
#define HEX 16
#define MUL10(x) ( (((x)<<2) + (x))<<1 )
#define ISDIGIT(c) ( ((c) >= '0') && ((c) <= '9') )
#define CVTBUFSIZE (309+40) /* # of digits in max. dp value + slop */
#define _INC_CVT
#endif /* _INC_CVT */
|