[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)
commit30a90eb1a54284535036cbb20b914dd229e5fb07
tree507823d6beb247577b9f1fd969c011684262ce0a
parentaae69c0a1da441b5cc4a014185f22e92515ba85f
[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.

llvm-svn: 187313
llvm/lib/Support/APFloat.cpp