aboutsummaryrefslogtreecommitdiff
path: root/math/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/math.h')
-rw-r--r--math/math.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/math/math.h b/math/math.h
index 70bf8e5ac0..95b39b3d92 100644
--- a/math/math.h
+++ b/math/math.h
@@ -97,6 +97,15 @@ typedef _Float128x double_t;
# endif
#endif
+/* Define macros for the return value of ilogb.
+
+ 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>
+
/* Get the architecture specific values describing the floating-point
evaluation. The following symbols will get defined:
@@ -107,13 +116,9 @@ typedef _Float128x double_t;
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>
+#include <bits/fp-fast.h>
/* The file <bits/mathcalls.h> contains the prototypes for all the
actual math functions. These macros are used for those prototypes,