constf.c 660 B

1234567891011121314151617181920
  1. #ifdef DEC
  2. /* MAXNUMF = 2^127 * (1 - 2^-24) */
  3. float MAXNUMF = 1.7014117331926442990585209174225846272e38;
  4. float MAXLOGF = 88.02969187150841;
  5. float MINLOGF = -88.7228391116729996; /* log(2^-128) */
  6. #else
  7. /* MAXNUMF = 2^128 * (1 - 2^-24) */
  8. float MAXNUMF = 3.4028234663852885981170418348451692544e38;
  9. float MAXLOGF = 88.72283905206835;
  10. float MINLOGF = -103.278929903431851103; /* log(2^-149) */
  11. #endif
  12. float LOG2EF = 1.44269504088896341;
  13. float LOGE2F = 0.693147180559945309;
  14. float SQRTHF = 0.707106781186547524;
  15. float PIF = 3.141592653589793238;
  16. float PIO2F = 1.5707963267948966192;
  17. float PIO4F = 0.7853981633974483096;
  18. float MACHEPF = 5.9604644775390625E-8;