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
/
cosl.c
diff --git
a/src/math/cosl.c
b/src/math/cosl.c
index
4d43629
..
2c650cd
100644
(file)
--- a/
src/math/cosl.c
+++ b/
src/math/cosl.c
@@
-31,11
+31,11
@@
#include "libm.h"
#include "libm.h"
-#if LD
6
4
+#if LD
BL_MANT_DIG == 53 && LDBL_MAX_EXP == 102
4
long double cosl(long double x) {
return cos(x);
}
long double cosl(long double x) {
return cos(x);
}
-#elif
LD80 || LD128
+#elif
(LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
#include "__rem_pio2l.h"
long double cosl(long double x)
#include "__rem_pio2l.h"
long double cosl(long double x)