mirror of
https://github.com/fluencelabs/musl
synced 2025-05-06 12:32:13 +00:00
fix scanning of "-0x" pseudo-hex float (must give negative zero)
This commit is contained in:
parent
3d649468c7
commit
f457b1cb0d
@ -352,7 +352,7 @@ static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok)
|
|||||||
} else {
|
} else {
|
||||||
shlim(f, 0);
|
shlim(f, 0);
|
||||||
}
|
}
|
||||||
return 0;
|
return sign * 0.0;
|
||||||
}
|
}
|
||||||
if (!gotrad) rp = dc;
|
if (!gotrad) rp = dc;
|
||||||
while (dc<8) x *= 16, dc++;
|
while (dc<8) x *= 16, dc++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user