diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 18:06:53 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 18:06:53 -0400 |
commit | 37f35c82fab1cb2c1203678e622c83dc2ba58f83 (patch) | |
tree | c96c14513eb5bded7003493d2207f1828167d587 /src/math | |
parent | 48d2528a5b7b031111fa24c53ca28d3ddc436a79 (diff) |
adjust to new file names
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/__fpclassify.c | 8 | ||||
-rw-r--r-- | src/math/_tgmath.h | 22 |
2 files changed, 13 insertions, 17 deletions
diff --git a/src/math/__fpclassify.c b/src/math/__fpclassify.c index ca3ef493..8331bd41 100644 --- a/src/math/__fpclassify.c +++ b/src/math/__fpclassify.c @@ -2,14 +2,6 @@ #include <math.h> #include "_tgmath.h" -#if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L -#include "FP_INFINITE.c" -#include "FP_NAN.c" -#include "FP_NORMAL.c" -#include "FP_SUBNORMAL.c" -#include "FP_ZERO.c" -#endif - int TGFN(__fpclassify)(TYPE x) { (void)x; diff --git a/src/math/_tgmath.h b/src/math/_tgmath.h index 0d6c9551..1feea423 100644 --- a/src/math/_tgmath.h +++ b/src/math/_tgmath.h @@ -34,34 +34,38 @@ #define TGHUGE HUGE_VAL #ifndef FP_ZERO -#include "FP_ZERO.c" +#include "FP_ZERO.h" #endif #ifndef FP_INFINITE -#include "FP_INFINITE.c" +#include "FP_INFINITE.h" #endif #ifndef FP_NAN -#include "FP_NAN.c" +#include "FP_NAN.h" +#endif + +#ifndef FP_NORMAL +#include "FP_NORMAL.h" #endif #ifndef NAN -#include "NAN.c" +#include "NAN.h" #endif #ifndef INFINITY -#include "INFINITY.c" +#include "INFINITY.h" #endif #undef feraiseexcept #define feraiseexcept(_) #ifndef fpclassify -#include "fpclassify.c" +#include "fpclassify.h" #endif #ifndef signbit -#include "signbit.c" +#include "signbit.h" #endif #ifndef copysign @@ -69,11 +73,11 @@ #endif #ifndef M_PI -#include "M_PI.c" +#include "M_PI.h" #endif #ifndef M_PI_2 -#include "M_PI_2.c" +#include "M_PI_2.h" #endif #endif |