commit | b023c03b574acdfd73418314a5dcaa83e5cea5a0 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Fri Mar 04 21:23:33 2016 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Fri Mar 04 17:58:49 2016 -0500 |
tree | 87a59e15a8cb6f344deb87a0f3cc88d31fefefea | |
parent | db66ef1f7db7c5b672591a97a97bc789c9efe2f3 [diff] |
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.