freebsd-skq/lib/msun/man
Michal Meloun e1b98d0774 Implement sincos, sincosf, and sincosl.
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
2017-05-28 06:13:38 +00:00
..
acos.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
acosh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
asin.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
asinh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
atan2.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
atan.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
atanh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cacos.3
ccos.3
ccosh.3
ceil.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cexp.3
cimag.3
complex.3
copysign.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cos.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cosh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
csqrt.3
erf.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
exp.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fabs.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdim.3
feclearexcept.3
feenableexcept.3
fegetenv.3
fegetround.3
fenv.3
floor.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fma.3
fmax.3
fmod.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
hypot.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ieee_test.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ieee.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ilogb.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
j0.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
lgamma.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
log.3
lrint.3
lround.3
math.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nan.3
nextafter.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
remainder.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rint.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
round.3
scalbn.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
signbit.3
sin.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sincos.3 Implement sincos, sincosf, and sincosl. 2017-05-28 06:13:38 +00:00
sinh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sqrt.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tan.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tanh.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
trunc.3