1/****************************************************************
2Copyright (C) 1992 Lucent Technologies
3All Rights Reserved
4
5Permission to use, copy, modify, and distribute this software and
6its documentation for any purpose and without fee is hereby
7granted, provided that the above copyright notice appear in all
8copies and that both that the copyright notice and this
9permission notice and warranty disclaimer appear in supporting
10documentation, and that the name of Lucent or any of its entities
11not be used in advertising or publicity pertaining to
12distribution of the software without specific, written prior
13permission.
14
15LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
17IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
18SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
20IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22THIS SOFTWARE.
23****************************************************************/
24
25
26#ifdef IEEE_MC68k
27#define IEEE_ARITHMETIC
28#endif
29#ifdef IEEE_8087
30#define IEEE_ARITHMETIC
31#endif
32
33#ifdef IEEE_ARITHMETIC
34#define DBL_DIG 15
35#define DBL_MAX_10_EXP 308
36#define DBL_MAX_EXP 1024
37#define FLT_RADIX 2
38#define FLT_ROUNDS 1
39#define DBL_MAX 1.7976931348623157e+308
40#endif
41
42#ifdef IBM
43#define DBL_DIG 16
44#define DBL_MAX_10_EXP 75
45#define DBL_MAX_EXP 63
46#define FLT_RADIX 16
47#define FLT_ROUNDS 0
48#define DBL_MAX 7.2370055773322621e+75
49#endif
50
51#ifdef VAX
52#define DBL_DIG 16
53#define DBL_MAX_10_EXP 38
54#define DBL_MAX_EXP 127
55#define FLT_RADIX 2
56#define FLT_ROUNDS 1
57#define DBL_MAX 1.7014118346046923e+38
58#endif
59
60#ifndef LONG_MAX
61#define LONG_MAX 2147483647
62#endif
63