about summary refs log tree commit diff
path: root/src/math/sin.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-11-21 01:01:57 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-11-21 01:01:57 +0000
commitebbaf2180e6e32043837f570982c2ee86cf19eae (patch)
tree715c3f74bc82d25994b76298ea3919d9756eb76a /src/math/sin.c
parent326e5c2e27224e3323e54f37621d55c40ebae87c (diff)
downloadmusl-ebbaf2180e6e32043837f570982c2ee86cf19eae.tar.gz
musl-ebbaf2180e6e32043837f570982c2ee86cf19eae.tar.xz
musl-ebbaf2180e6e32043837f570982c2ee86cf19eae.zip
math: lgamma cleanup (simpler sin(pi*x) for the negative case)
* simplify sin_pi(x) (don't care about inexact here, the result is
  inexact anyway, and x is not so small to underflow)
* in lgammal add the previously removed special case for x==1 and
  x==2 (to fix the sign of zero in downward rounding mode)
* only define lgammal on supported long double platforms
* change tgamma so the generated code is a bit smaller
Diffstat (limited to 'src/math/sin.c')
0 files changed, 0 insertions, 0 deletions