Properly clear all the extra bits in a significand when making a NaN from an
authorJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 12:49:50 +0000 (12:49 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 28 Feb 2010 12:49:50 +0000 (12:49 +0000)
commit165e96bd25200ccabe4539aaf29a249b61074d11
tree4b55e2f5d26b248d827d1da784f8e3ff16c182e5
parent1e7ad3993d8700488895fa372ecad55443f53485
Properly clear all the extra bits in a significand when making a NaN from an
APInt.  Be certain to set the integer bit in an x87 extended-precision
significand so that we don't accidentally make a pseudo-NaN.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/APFloat.cpp