diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/h/cvt.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/crt32/h/cvt.h')
-rw-r--r-- | private/crt32/h/cvt.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/private/crt32/h/cvt.h b/private/crt32/h/cvt.h new file mode 100644 index 000000000..6b6014658 --- /dev/null +++ b/private/crt32/h/cvt.h @@ -0,0 +1,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 */ |