Subversion Repositories HelenOS-historic

Rev

Rev 732 | Rev 804 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 732 Rev 734
Line 71... Line 71...
71
#define FLOAT32_MIN 0xff800000
71
#define FLOAT32_MIN 0xff800000
72
#define FLOAT64_MAX
72
#define FLOAT64_MAX
73
#define FLOAT64_MIN
73
#define FLOAT64_MIN
74
 
74
 
75
/* For recognizing NaNs or infinity use isFloat32NaN and is Float32Inf, comparing with this constants is not sufficient */
75
/* For recognizing NaNs or infinity use isFloat32NaN and is Float32Inf, comparing with this constants is not sufficient */
76
#define FLOAT32_NAN 0x7F800001
76
#define FLOAT32_NAN 0x7FC00001
77
#define FLOAT32_SIGNAN 0x7FC00000
77
#define FLOAT32_SIGNAN 0x7F800001
78
#define FLOAT32_INF 0x7F800000
78
#define FLOAT32_INF 0x7F800000
79
 
79
 
-
 
80
#define FLOAT64_NAN 0x7FF8000000000001ll
-
 
81
#define FLOAT64_SIGNAN 0x7FF0000000000001ll
-
 
82
#define FLOAT64_INF 0x7FF0000000000000ll
-
 
83
 
80
#define FLOAT32_MANTISA_SIZE 23
84
#define FLOAT32_MANTISA_SIZE 23
81
#define FLOAT64_MANTISA_SIZE 52
85
#define FLOAT64_MANTISA_SIZE 52
82
 
86
 
83
#define FLOAT32_HIDDEN_BIT_MASK 0x800000
87
#define FLOAT32_HIDDEN_BIT_MASK 0x800000
84
#define FLOAT64_HIDDEN_BIT_MASK 0x10000000000000ll
88
#define FLOAT64_HIDDEN_BIT_MASK 0x10000000000000ll
85
 
89
 
86
#define FLOAT32_MAX_EXPONENT 0xFF
90
#define FLOAT32_MAX_EXPONENT 0xFF
87
#define FLOAT64_MAX_EXPONENT 0x8FF
91
#define FLOAT64_MAX_EXPONENT 0x7FF
88
 
92
 
89
#define FLOAT32_BIAS 0x7F
93
#define FLOAT32_BIAS 0x7F
90
#define FLOAT64_BIAS 0x3FF
94
#define FLOAT64_BIAS 0x3FF
91
#define FLOAT80_BIAS 0x3FFF
95
#define FLOAT80_BIAS 0x3FFF
92
 
96