1 << 47 needs to be written 1ULL << 47.

This commit is contained in:
David Schultz 2008-03-02 20:16:55 +00:00
parent 06e361fb0e
commit 3e13dd37ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176747

View File

@ -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);
}