diff options
author | David Chisnall <theraven@FreeBSD.org> | 2013-09-06 07:58:23 +0000 |
---|---|---|
committer | David Chisnall <theraven@FreeBSD.org> | 2013-09-06 07:58:23 +0000 |
commit | 4758b87596e63ca7a59cdbb690f2ed2ace772abd (patch) | |
tree | 989417ad1d375a97b92eb95a4c7820e44f562e34 /lib/msun/Makefile | |
parent | fa48032049551ea4cf6031e707da02f16ee41820 (diff) | |
download | src-4758b87596e63ca7a59cdbb690f2ed2ace772abd.tar.gz src-4758b87596e63ca7a59cdbb690f2ed2ace772abd.zip |
Add stub implementations of the missing C++11 math functions.
These are weak and so can be replaced by other versions in applications
that choose to do so, and will give a linker warning when used so that
applications that rely on the extra precision can avoid them.
Note that since the C/C++ specs only guarantee that long double has
precision equal to double, code that actually relies on these functions
having greater precision is unportable at best and broken at worst.
Notes
Notes:
svn path=/head/; revision=255294
Diffstat (limited to 'lib/msun/Makefile')
-rw-r--r-- | lib/msun/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile index 14db97e05c59..629d52300d80 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -53,6 +53,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 \ + imprecise.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 \ |