Fix another roundToIntegral bug where very large values could become infinity. Probl...
authorOwen Anderson <resistor@mac.com>
Wed, 15 Aug 2012 18:28:45 +0000 (18:28 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 15 Aug 2012 18:28:45 +0000 (18:28 +0000)
commitc82cc587a468d44e5cfabfa8f8a639667127845d
tree05e458aa3ea8daf0d4dcdadcdabc918473cc38df
parentc97eda2c9e34f4c491f59bbac81af2fd63fef49d
Fix another roundToIntegral bug where very large values could become infinity.  Problem and solution identified by Steve Canon.

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