summaryrefslogtreecommitdiff
path: root/libm/float/constf.c
blob: bf6b6f657878fd4a358ef6393a83b17ae7e9e80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#ifdef DEC
/* MAXNUMF = 2^127 * (1 - 2^-24) */
float MAXNUMF = 1.7014117331926442990585209174225846272e38;
float MAXLOGF = 88.02969187150841;
float MINLOGF = -88.7228391116729996; /* log(2^-128) */
#else
/* MAXNUMF = 2^128 * (1 - 2^-24) */
float MAXNUMF = 3.4028234663852885981170418348451692544e38;
float MAXLOGF = 88.72283905206835;
float MINLOGF = -103.278929903431851103; /* log(2^-149) */
#endif

float LOG2EF = 1.44269504088896341;
float LOGE2F = 0.693147180559945309;
float SQRTHF = 0.707106781186547524;
float PIF = 3.141592653589793238;
float PIO2F = 1.5707963267948966192;
float PIO4F = 0.7853981633974483096;
float MACHEPF = 5.9604644775390625E-8;