home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
cvt.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
1KB
|
47 lines
/***
*cvt.h - definitions used by formatting routines
*
* Copyright (c) 1985-1997, 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]
*
****/
#if _MSC_VER > 1000
#pragma once
#endif /* _MSC_VER > 1000 */
#ifndef _INC_CVT
#define _INC_CVT
#ifndef _CRTBLD
/*
* This is an internal C runtime header file. It is used when building
* the C runtimes only. It is not to be used as a public header file.
*/
#error ERROR: Use of C runtime library internal header file.
#endif /* _CRTBLD */
#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 */
#endif /* _INC_CVT */