[APFloat] Move setting fcNormal in zeroSignificand() to calling code.
authorMichael Gottesman <mgottesman@apple.com>
Sat, 27 Jul 2013 21:49:21 +0000 (21:49 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sat, 27 Jul 2013 21:49:21 +0000 (21:49 +0000)
commit060d34b1cf9a1185b24db95925f23d9fbadce078
treeb12b6040ff11b63b4f10b07fe6f7d0d8d854e07a
parent7ffc854002282b0a6fd018d967a6def971dc341e
[APFloat] Move setting fcNormal in zeroSignificand() to calling code.

Zeroing the significand of a floating point number does not necessarily cause a
floating point number to become finite non zero. For instance, if one has a NaN,
zeroing the significand will cause it to become +/- infinity.

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