summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_tan.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-02-17 07:33:12 +0000
committerdas <das@FreeBSD.org>2008-02-17 07:33:12 +0000
commit42e85f679f3473a2fdd4855f9fc6d109919b4ee6 (patch)
tree0107204fcf6b50c64cef34e3fb9b5079daec83ce /lib/msun/src/s_tan.c
parent61222ca5ae1148ade49b4c5249c16846498e35f7 (diff)
downloadFreeBSD-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_tan.c')
-rw-r--r--lib/msun/src/s_tan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/msun/src/s_tan.c b/lib/msun/src/s_tan.c
index d707ecd..d9d37b6 100644
--- a/lib/msun/src/s_tan.c
+++ b/lib/msun/src/s_tan.c
@@ -44,6 +44,8 @@ static char rcsid[] = "$FreeBSD$";
* TRIG(x) returns trig(x) nearly rounded
*/
+#include <float.h>
+
#include "math.h"
#include "math_private.h"
@@ -74,3 +76,7 @@ tan(double x)
-1 -- n odd */
}
}
+
+#if (LDBL_MANT_DIG == 53)
+__weak_reference(tan, tanl);
+#endif
OpenPOWER on IntegriCloud