e1b98d0774
The primary benefit of these functions is that argument reduction is done once instead of twice in independent calls to sin() and cos(). * lib/msun/Makefile: . Add s_sincos[fl].c to the build. . Add sincos.3 documentation. . Add appropriate MLINKS. * lib/msun/Symbol.map: . Expose sincos[fl] symbols in dynamic libm.so. * lib/msun/man/sincos.3: . Documentation for sincos[fl]. * lib/msun/src/k_sincos.h: . Kernel for sincos() function. This merges the individual kernels for sin() and cos(). The merger offered an opportunity to re-arrange the individual kernels for better performance. * lib/msun/src/k_sincosf.h: . Kernel for sincosf() function. This merges the individual kernels for sinf() and cosf(). The merger offered an opportunity to re-arrange the individual kernels for better performance. * lib/msun/src/k_sincosl.h: . Kernel for sincosl() function. This merges the individual kernels for sinl() and cosl(). The merger offered an opportunity to re-arrange the individual kernels for better performance. * lib/msun/src/math.h: . Add prototytpes for sincos[fl](). * lib/msun/src/math_private.h: . Add RETURNV macros. This is needed to reset fpsetprec on I386 hardware for a function with type void. * lib/msun/src/s_sincos.c: . Implementation of sincos() where sin() and cos() were merged into one routine and possibly re-arranged for better performance. * lib/msun/src/s_sincosf.c: . Implementation of sincosf() where sinf() and cosf() were merged into one routine and possibly re-arranged for better performance. * lib/msun/src/s_sincosl.c: . Implementation of sincosl() where sinl() and cosl() were merged into one routine and possibly re-arranged for better performance. PR: 215977, 218300 Submitted by: Steven G. Kargl <sgk@troutmask.apl.washington.edu> MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D10765 |
||
---|---|---|
.. | ||
acos.3 | ||
acosh.3 | ||
asin.3 | ||
asinh.3 | ||
atan2.3 | ||
atan.3 | ||
atanh.3 | ||
cacos.3 | ||
ccos.3 | ||
ccosh.3 | ||
ceil.3 | ||
cexp.3 | ||
cimag.3 | ||
complex.3 | ||
copysign.3 | ||
cos.3 | ||
cosh.3 | ||
csqrt.3 | ||
erf.3 | ||
exp.3 | ||
fabs.3 | ||
fdim.3 | ||
feclearexcept.3 | ||
feenableexcept.3 | ||
fegetenv.3 | ||
fegetround.3 | ||
fenv.3 | ||
floor.3 | ||
fma.3 | ||
fmax.3 | ||
fmod.3 | ||
hypot.3 | ||
ieee_test.3 | ||
ieee.3 | ||
ilogb.3 | ||
j0.3 | ||
lgamma.3 | ||
log.3 | ||
lrint.3 | ||
lround.3 | ||
math.3 | ||
nan.3 | ||
nextafter.3 | ||
remainder.3 | ||
rint.3 | ||
round.3 | ||
scalbn.3 | ||
signbit.3 | ||
sin.3 | ||
sincos.3 | ||
sinh.3 | ||
sqrt.3 | ||
tan.3 | ||
tanh.3 | ||
trunc.3 |