diff options
author | Szabolcs Nagy <nsz@port70.net> | 2016-03-04 21:23:33 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-03-04 17:58:49 -0500 |
commit | b023c03b574acdfd73418314a5dcaa83e5cea5a0 (patch) | |
tree | 87a59e15a8cb6f344deb87a0f3cc88d31fefefea /src/ctype/iswalpha.c | |
parent | db66ef1f7db7c5b672591a97a97bc789c9efe2f3 (diff) | |
download | musl-b023c03b574acdfd73418314a5dcaa83e5cea5a0.tar.gz musl-b023c03b574acdfd73418314a5dcaa83e5cea5a0.tar.bz2 musl-b023c03b574acdfd73418314a5dcaa83e5cea5a0.tar.xz musl-b023c03b574acdfd73418314a5dcaa83e5cea5a0.zip |
math: fix expf(-NAN) and exp2f(-NAN) to return -NAN instead of 0
expf(-NAN) was treated as expf(-large) which unconditionally
returns +0, so special case +-NAN.
reported by Petr Hosek.
Diffstat (limited to 'src/ctype/iswalpha.c')
0 files changed, 0 insertions, 0 deletions