Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
/* Hack : use enquire43, with corrections, to produce these values */
30
 
31
#ifndef __FLOAT_INCLUDED
32
#define __FLOAT_INCLUDED
33
 
34
#define FLT_RADIX	2
35
#define FLT_MANT_DIG	24
36
#define FLT_DIG		6
37
#define FLT_ROUNDS	1
38
#define FLT_EPSILON	1.19209290e-07F
39
#define FLT_MIN_EXP	(-125)
40
#define FLT_MIN		1.17549435e-38F
41
#define FLT_MIN_10_EXP	(-37)
42
#define FLT_MAX_EXP	128
43
#define FLT_MAX		3.40282347e+38F
44
#define FLT_MAX_10_EXP	38
45
 
46
#define DBL_MANT_DIG	53
47
#define DBL_DIG		15
48
#define DBL_EPSILON	2.2204460492503131e-16
49
#define DBL_MIN_EXP	(-1021)
50
#define DBL_MIN		2.2250738585072014e-308
51
#define DBL_MIN_10_EXP	(-307)
52
#define DBL_MAX_EXP	1024
53
#define DBL_MAX		1.7976931348623157e+308
54
#define DBL_MAX_10_EXP	308
55
 
56
#define LDBL_MANT_DIG	64
57
#define LDBL_DIG	18
58
#define LDBL_EPSILON	1.0842021724855044340075E-19L
59
#define LDBL_MIN	3.3621031431120935062627e-4932L
60
#define LDBL_MIN_EXP	(-16381)
61
#define LDBL_MIN_10_EXP	(-4931)
62
#define LDBL_MAX	1.1897314953572317650212e+4932L
63
#define LDBL_MAX_EXP	16384
64
#define LDBL_MAX_10_EXP	4932
65
 
66
#endif