1 << 47 needs to be written 1ULL << 47.
This commit is contained in:
parent
06e361fb0e
commit
3e13dd37ff
@ -41,6 +41,6 @@ nanl(const char *s)
|
||||
|
||||
_scan_nan(u.bits, 4, s);
|
||||
u.ieee.bits.exp = 0x7fff;
|
||||
u.ieee.bits.manh |= 1 << 47; /* make it a quiet NaN */
|
||||
u.ieee.bits.manh |= 1ULL << 47; /* make it a quiet NaN */
|
||||
return (u.ieee.e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user