summaryrefslogtreecommitdiffstats
path: root/lib/msun/Makefile
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-10-21 06:27:56 +0000
committerdas <das@FreeBSD.org>2011-10-21 06:27:56 +0000
commit791a3ff0bf568d12e5a870ebbcfb9877804bac46 (patch)
tree71109454e34896fc6e6ea1ae5942757b8f147ffd /lib/msun/Makefile
parente068faa86b2f941fee33afe19eb3b015e0cb9f61 (diff)
downloadFreeBSD-src-791a3ff0bf568d12e5a870ebbcfb9877804bac46.zip
FreeBSD-src-791a3ff0bf568d12e5a870ebbcfb9877804bac46.tar.gz
The cexp() and {,c}{cos,sin}h functions all need to be able to compute
exp(x) scaled down by some factor, and the challenge is doing this accurately when exp(x) would overflow. This change replaces all of the tricks we've been using with common __ldexp_exp() and __ldexp_cexp() routines that handle all the scaling. bde plans to improve on this further by moving the guts of exp() into k_exp.c and handling the scaling in a more direct manner. But the current approach is simple and adequate for now.
Diffstat (limited to 'lib/msun/Makefile')
-rw-r--r--lib/msun/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
index 7542f63..f1385f1 100644
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -49,7 +49,7 @@ COMMON_SRCS= b_exp.c b_log.c b_tgamma.c \
e_pow.c e_powf.c e_rem_pio2.c \
e_rem_pio2f.c e_remainder.c e_remainderf.c e_scalb.c e_scalbf.c \
e_sinh.c e_sinhf.c e_sqrt.c e_sqrtf.c fenv.c \
- k_cos.c k_cosf.c k_rem_pio2.c k_sin.c k_sinf.c \
+ k_cos.c k_cosf.c k_exp.c k_expf.c k_rem_pio2.c k_sin.c k_sinf.c \
k_tan.c k_tanf.c \
s_asinh.c s_asinhf.c s_atan.c s_atanf.c s_carg.c s_cargf.c s_cargl.c \
s_cbrt.c s_cbrtf.c s_ceil.c s_ceilf.c \
OpenPOWER on IntegriCloud