Fix infinite loop in ldexp(0.0, any).

This commit is contained in:
Alexey Frunze
2016-01-24 01:43:24 -08:00
parent 6457d878c0
commit 21f8d60095

View File

@@ -9,6 +9,8 @@ ldexp(fr, exp)
int neg;
int i;
if (fr == 0)
return 0;
neg = 0;
if (fr < 0) {
fr = -fr;