From: Szabolcs Nagy Date: Fri, 4 Mar 2016 21:23:33 +0000 (+0000) Subject: math: fix expf(-NAN) and exp2f(-NAN) to return -NAN instead of 0 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b023c03b574acdfd73418314a5dcaa83e5cea5a0;hp=b023c03b574acdfd73418314a5dcaa83e5cea5a0;p=musl 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. ---