diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-11-05 18:05:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-11-05 18:05:39 +0000 |
commit | 79df5fdb24d5c9c6ad43e93afcec57d77871adb5 (patch) | |
tree | 0f3e027b4e796056468fdae96745066fe2b50744 /sysdeps/m68k | |
parent | 1dc5a942c96e0b48959d086d3423f5245bef4fef (diff) | |
download | glibc-79df5fdb24d5c9c6ad43e93afcec57d77871adb5.tar glibc-79df5fdb24d5c9c6ad43e93afcec57d77871adb5.tar.gz glibc-79df5fdb24d5c9c6ad43e93afcec57d77871adb5.tar.bz2 glibc-79df5fdb24d5c9c6ad43e93afcec57d77871adb5.zip |
Define only if __USE_ISOC9X.
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r-- | sysdeps/m68k/fpu/bits/mathdef.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathdef.h b/sysdeps/m68k/fpu/bits/mathdef.h index e3d33a53a2..5bad57bcc3 100644 --- a/sysdeps/m68k/fpu/bits/mathdef.h +++ b/sysdeps/m68k/fpu/bits/mathdef.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +20,7 @@ # error "Never use <bits/mathdef.h> directly; include <math.h> instead" #endif - +#ifdef __USE_ISOC9X /* The m68k FPUs evaluate all values in the 96 bit floating-point format which is also available for the user as `long double'. Therefore we define: */ @@ -30,14 +30,16 @@ typedef long double double_t; /* `double' expressions are evaluated as `long double'. */ /* Signal that both types are `long double'. */ -#define FLT_EVAL_METHOD 2 +# define FLT_EVAL_METHOD 2 /* Define `INFINITY' as value of type `float'. */ -#define INFINITY HUGE_VALF +# define INFINITY HUGE_VALF /* The values returned by `ilogb' for 0 and NaN respectively. */ -#define FP_ILOGB0 0x80000000 -#define FP_ILOGBNAN 0x7fffffff +# define FP_ILOGB0 0x80000000 +# define FP_ILOGBNAN 0x7fffffff /* Number of decimal digits for the `long double' type. */ -#define DECIMAL_DIG 18 +# define DECIMAL_DIG 18 + +#endif /* ISO C 9X */ |