about summary refs log tree commit diff
path: root/src/stat/lchmod.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-03-04 21:23:33 +0000
committerRich Felker <dalias@aerifal.cx>2016-03-04 17:58:49 -0500
commitb023c03b574acdfd73418314a5dcaa83e5cea5a0 (patch)
tree87a59e15a8cb6f344deb87a0f3cc88d31fefefea /src/stat/lchmod.c
parentdb66ef1f7db7c5b672591a97a97bc789c9efe2f3 (diff)
downloadmusl-b023c03b574acdfd73418314a5dcaa83e5cea5a0.tar.gz
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/stat/lchmod.c')
0 files changed, 0 insertions, 0 deletions