]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r286515:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Aug 2015 19:06:35 +0000 (19:06 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Aug 2015 19:06:35 +0000 (19:06 +0000)
commit1f009c39a28cbe6ceca693656364ca33a8f53168
treef1bdcdd63a8b7466730926791023e541112627fc
parent5c6b79f70c1c799278732852206eda3a2c6e462c
MFC r286515:

In libm's exp2(3), avoid left-shifting a negative integer, which is
undefined.  Replace it with the intended value, in a defined way.

Reviewed by: bde

git-svn-id: svn://svn.freebsd.org/base/stable/10@286688 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/msun/src/s_exp2.c