diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 5 | ||||
-rw-r--r-- | math/math.h | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/math/Makefile b/math/Makefile index c78a2a6..6a9134b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -22,8 +22,9 @@ subdir := math # Installed header files. headers := math.h bits/mathcalls.h bits/mathinline.h bits/huge_val.h \ - bits/nan.h fpu_control.h complex.h bits/cmathcalls.h \ - fenv.h bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h + bits/huge_valf.h bits/huge_vall.h bits/inf.h bits/nan.h \ + fpu_control.h complex.h bits/cmathcalls.h fenv.h \ + bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h # Internal header files. distribute := math_ldbl.h math_private.h machine/asm.h diff --git a/math/math.h b/math/math.h index 9161412..65fd715 100644 --- a/math/math.h +++ b/math/math.h @@ -31,15 +31,20 @@ __BEGIN_DECLS /* Get machine-dependent HUGE_VAL value (returned on overflow). On all IEEE754 machines, this is +Infinity. */ #include <bits/huge_val.h> +#ifdef __USE_ISOC99 +# include <bits/huge_valf.h> +# include <bits/huge_vall.h> + +/* Get machine-dependent INFINITY value. */ +# include <bits/inf.h> /* Get machine-dependent NAN value (returned for some domain errors). */ -#ifdef __USE_ISOC99 # include <bits/nan.h> -#endif +#endif /* __USE_ISOC99 */ + /* Get general and ISO C99 specific information. */ #include <bits/mathdef.h> - /* The file <bits/mathcalls.h> contains the prototypes for all the actual math functions. These macros are used for those prototypes, so we can easily declare each function as both `name' and `__name', |