home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
VALUES.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
2KB
|
70 lines
/* values.h
Symbolic names for important constants, including machine
dependencies. A System V compatible header.
*/
/*
* C/C++ Run Time Library - Version 8.0
*
* Copyright (c) 1987, 1997 by Borland International
* All Rights Reserved.
*
*/
/* $Revision: 8.2 $ */
#if !defined(__VALUES_H)
#define __VALUES_H
#if !defined(___DEFS_H)
#include <_defs.h>
#endif
#define BITSPERBYTE 8
#define MAXSHORT 0x7fff
#if !defined(__FLAT__)
#define MAXINT 0x7FFF
#define HIBITS 0x8000
#define HIBITI 0x8000
#else /* defined __FLAT__ */
#define MAXINT 0x7fffffff
#define HIBITS 0x80000000
#define HIBITI 0x80000000
#endif
#define MAXLONG 0x7fffffff
#define HIBITL 0x80000000
#define DMAXEXP 308
#define FMAXEXP 38
#define DMINEXP -307
#define FMINEXP -37
#define MAXDOUBLE 1.7976931348623158E+308
#define MAXFLOAT 3.40282347E+38F
#define MINDOUBLE 2.2250738585072014E-308
#define MINFLOAT 1.17549435E-38F
#define MAXLDOUBLE 1.1897314953572317649E+4932L
#define MINLDOUBLE 3.362103143112094E-4917L /* This isn't accurate, but it */
/* will do for now. The real */
/* value should be: */
/* 3.362103143112094E-4932L */
#define DSIGNIF 53
#define FSIGNIF 24
#define DMAXPOWTWO 0x3FF
#define FMAXPOWTWO 0x7F
#define DEXPLEN 11
#define FEXPLEN 8
#define EXPBASE 2
#define IEEE 1
#define LENBASE 1
#define HIDDENBIT 1
#define LN_MAXDOUBLE 7.0978E+2
#define LN_MINDOUBLE -7.0840E+2
#endif /* __VALUES_H */