projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use #if LDBL_MANT_DIG == ... instead of custom LD80 etc macros
[libm]
/
src
/
math
/
fmal.c
diff --git
a/src/math/fmal.c
b/src/math/fmal.c
index
ca2e664
..
200bd5a
100644
(file)
--- a/
src/math/fmal.c
+++ b/
src/math/fmal.c
@@
-27,12
+27,12
@@
#include "libm.h"
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
long double fmal(long double x, long double y, long double z)
{
return fma(x, y, z);
}
long double fmal(long double x, long double y, long double z)
{
return fma(x, y, z);
}
-#elif
LD80 || LD128
+#elif
(LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
#include <fenv.h>
/*
#include <fenv.h>
/*