diff options
author | das <das@FreeBSD.org> | 2008-02-17 07:33:12 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-02-17 07:33:12 +0000 |
commit | 42e85f679f3473a2fdd4855f9fc6d109919b4ee6 (patch) | |
tree | 0107204fcf6b50c64cef34e3fb9b5079daec83ce /lib/msun/src/s_cos.c | |
parent | 61222ca5ae1148ade49b4c5249c16846498e35f7 (diff) | |
download | FreeBSD-src-42e85f679f3473a2fdd4855f9fc6d109919b4ee6.zip FreeBSD-src-42e85f679f3473a2fdd4855f9fc6d109919b4ee6.tar.gz |
Add implementations of sinl(), cosl(), and tanl().
Submitted by: Steve Kargl <sgk@apl.washington.edu>
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 |