diff options
Diffstat (limited to 'lib/msun/src/s_cos.c')
-rw-r--r-- | lib/msun/src/s_cos.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/s_cos.c b/lib/msun/src/s_cos.c index 17afa34..b2fae38 100644 --- a/lib/msun/src/s_cos.c +++ b/lib/msun/src/s_cos.c @@ -45,6 +45,8 @@ static char rcsid[] = "$FreeBSD$"; * TRIG(x) returns trig(x) nearly rounded */ +#include <float.h> + #include "math.h" #include "math_private.h" @@ -80,3 +82,7 @@ cos(double x) } } } + +#if (LDBL_MANT_DIG == 53) +__weak_reference(cos, cosl); +#endif |