**diff options**

author | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:01:57 +0000 |
---|---|---|

committer | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:01:57 +0000 |

commit | ebbaf2180e6e32043837f570982c2ee86cf19eae (patch) | |

tree | 715c3f74bc82d25994b76298ea3919d9756eb76a /src/math/remainder.c | |

parent | 326e5c2e27224e3323e54f37621d55c40ebae87c (diff) | |

download | musl-ebbaf2180e6e32043837f570982c2ee86cf19eae.tar.gz |

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/remainder.c')

0 files changed, 0 insertions, 0 deletions