summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1992-04-21 08:32:41 +0000
committerRoland McGrath <roland@gnu.org>1992-04-21 08:32:41 +0000
commit1c568fe7e6821c883682583920958f82c888f8b1 (patch)
tree7d26cb78bd01d915c1b95b743374a71bab449c07 /math
parent3bd5aece5d536e8b930a08704aa7ea435cb51c5d (diff)
Formerly math.h.~11~
Diffstat (limited to 'math')
-rw-r--r--math/math.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/math/math.h b/math/math.h
index df7c9f5c71..527f1a300b 100644
--- a/math/math.h
+++ b/math/math.h
@@ -29,9 +29,13 @@ Cambridge, MA 02139, USA. */
#define __need_Emath
#include <errno.h>
-/* Get HUGE_VAL (returned on overflow) from <float.h>. */
-#define __need_HUGE_VAL
-#include <float.h>
+/* Get machine-dependent HUGE_VAL value (returned on overflow). */
+#include <huge_val.h>
+
+/* Get machine-dependent NAN value (returned for some domain errors). */
+#ifdef __USE_GNU
+#include <nan.h>
+#endif
#ifndef __CONSTVALUE