summaryrefslogtreecommitdiff
path: root/sysdeps/m68k/fpu/bits/mathdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/fpu/bits/mathdef.h')
-rw-r--r--sysdeps/m68k/fpu/bits/mathdef.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h
index c2b4eff920..e3d33a53a2 100644
--- a/sysdeps/m68k/fpu/bits/mathdef.h
+++ b/sysdeps/m68k/fpu/bits/mathdef.h
@@ -32,9 +32,12 @@ typedef long double double_t; /* `double' expressions are evaluated as
/* Signal that both types are `long double'. */
#define FLT_EVAL_METHOD 2
-/* Define `INFINITY' as value of type `float_t'. */
-#define INFINITY HUGE_VALL
+/* Define `INFINITY' as value of type `float'. */
+#define INFINITY HUGE_VALF
/* The values returned by `ilogb' for 0 and NaN respectively. */
#define FP_ILOGB0 0x80000000
#define FP_ILOGBNAN 0x7fffffff
+
+/* Number of decimal digits for the `long double' type. */
+#define DECIMAL_DIG 18