diff options
Diffstat (limited to 'math/math.h')
-rw-r--r-- | math/math.h | 55 |
1 files changed, 21 insertions, 34 deletions
diff --git a/math/math.h b/math/math.h index ff9d70adf5..2f77deec87 100644 --- a/math/math.h +++ b/math/math.h @@ -45,7 +45,27 @@ __BEGIN_DECLS # include <bits/nan.h> #endif /* __USE_ISOC99 */ -/* Get general and ISO C99 specific information. */ +/* Get the architecture specific values describing the floating-point + evaluation. The following symbols will get defined: + + float_t floating-point type at least as wide as `float' used + to evaluate `float' expressions + double_t floating-point type at least as wide as `double' used + to evaluate `double' expressions + + FP_FAST_FMA + FP_FAST_FMAF + FP_FAST_FMAL + If defined it indicates that the `fma' function + generally executes about as fast as a multiply and an add. + This macro is defined only iff the `fma' function is + implemented directly with a hardware multiply-add instructions. + + FP_ILOGB0 Expands to a value returned by `ilogb (0.0)'. + FP_ILOGBNAN Expands to a value returned by `ilogb (NAN)'. + +*/ + #include <bits/mathdef.h> /* The file <bits/mathcalls.h> contains the prototypes for all the @@ -173,39 +193,6 @@ extern int signgam; /* ISO C99 defines some generic macros which work on any data type. */ #ifdef __USE_ISOC99 -/* Get the architecture specific values describing the floating-point - evaluation. The following symbols will get defined: - - float_t floating-point type at least as wide as `float' used - to evaluate `float' expressions - double_t floating-point type at least as wide as `double' used - to evaluate `double' expressions - - FLT_EVAL_METHOD - Defined to - 0 if `float_t' is `float' and `double_t' is `double' - 1 if `float_t' and `double_t' are `double' - 2 if `float_t' and `double_t' are `long double' - else `float_t' and `double_t' are unspecified - - INFINITY representation of the infinity value of type `float' - - FP_FAST_FMA - FP_FAST_FMAF - FP_FAST_FMAL - If defined it indicates that the `fma' function - generally executes about as fast as a multiply and an add. - This macro is defined only iff the `fma' function is - implemented directly with a hardware multiply-add instructions. - - FP_ILOGB0 Expands to a value returned by `ilogb (0.0)'. - FP_ILOGBNAN Expands to a value returned by `ilogb (NAN)'. - - DECIMAL_DIG Number of decimal digits supported by conversion between - decimal and all internal floating-point formats. - -*/ - /* All floating-point numbers can be put in one of these categories. */ enum { |