diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:00:51 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 14:00:51 -0400 |
| commit | 896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch) | |
| tree | aaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/math/pow.c | |
| parent | 0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff) | |
formatting
Diffstat (limited to 'src/math/pow.c')
| -rw-r--r-- | src/math/pow.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/math/pow.c b/src/math/pow.c index 8a070005..3400cdd1 100644 --- a/src/math/pow.c +++ b/src/math/pow.c @@ -1,10 +1,11 @@ # define TGSOURCE "pow.c" +#include <errno.h> +#include <fenv.h> #include <math.h> #include "_tgmath.h" -#include "errno.h" -#include "fenv.h" /** exponentiation **/ + TYPE TGFN(pow)(TYPE x, TYPE y) { int classx = fpclassify(x); @@ -114,7 +115,5 @@ compute ARGUMENT(x) raised to the power ARGUMENT(y). /* IMPLEMENTATION(The value returned on a domain error, CONSTANT(HUGE_VAL)) LINK(m) -*/ -/* STDC(1) */ |
