mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
FLT_EPSILON is now compliant with the definition : the difference between 1 and the next representable float. Change-Id: I4f79c3eee93447e76893d850bd84265c9d45aca5
17 lines
338 B
C
17 lines
338 B
C
#ifndef LIBA_FLOAT_H
|
|
#define LIBA_FLOAT_H
|
|
|
|
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
|
|
|
|
#define FLT_MAX 1E+37f
|
|
#define FLT_MIN 1E-37f
|
|
#define FLT_EPSILON 1.1920928955078125e-7
|
|
|
|
#define DBL_MAX 1.79769313486231571e+308
|
|
#define DBL_MIN 2.22507385850720138e-308
|
|
#define DBL_EPSILON 2.2204460492503131e-16
|
|
|
|
#define LDBL_MANT_DIG (-1)
|
|
|
|
#endif
|