mirror of
https://github.com/fluencelabs/musl
synced 2025-06-26 21:22:11 +00:00
fix stupid typo in floatscan that caused excess rounding of some values
This commit is contained in:
@ -159,7 +159,7 @@ static long double decfloat(FILE *f, int c, int bits, int emin, int sign, int po
|
|||||||
rp += 9-rpm9;
|
rp += 9-rpm9;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (rp < 9*LD_B1B_DIG || (rp == 9*LD_B1B_DIG && x[0]<th[0])) {
|
while (rp < 9*LD_B1B_DIG || (rp == 9*LD_B1B_DIG && x[a]<th[0])) {
|
||||||
uint32_t carry = 0;
|
uint32_t carry = 0;
|
||||||
e2 -= 29;
|
e2 -= 29;
|
||||||
for (k=(z-1 & MASK); ; k=(k-1 & MASK)) {
|
for (k=(z-1 & MASK); ; k=(k-1 & MASK)) {
|
||||||
|
Reference in New Issue
Block a user