/*  values.h

    Symbolic names for important constants, including machine
    dependencies. A System V compatible header.

*/

/*
 *      C/C++ Run Time Library - Version 9.0
 *
 *      Copyright (c) 1987, 1998 by Borland International
 *      All Rights Reserved.
 *
 */
/* $Revision: 1.1 $ */

#if !defined(__VALUES_H)
#define __VALUES_H

/*#if !defined(___DEFS_H)
#include <_defs.h>
#endif
*/
#define BITSPERBYTE 8
#define MAXSHORT    0x7fff

#define MAXINT      0x7fffffff
#define HIBITS      0x80000000
#define HIBITI      0x80000000

#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 completely
                                                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 */
