aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/SmallVectorTest.cpp
diff options
context:
space:
mode:
authorStephen Canon <scanon@apple.com>2014-06-08 16:53:31 +0000
committerStephen Canon <scanon@apple.com>2014-06-08 16:53:31 +0000
commitd327828141855d7317116e9ef0bc74924b8527d9 (patch)
tree87a2a502b243a3a753ac71837c4505077a5a7651 /llvm/unittests/ADT/SmallVectorTest.cpp
parent960ea3f01831cd3f990e33e3658f58b12906917c (diff)
downloadllvm-d327828141855d7317116e9ef0bc74924b8527d9.zip
llvm-d327828141855d7317116e9ef0bc74924b8527d9.tar.gz
llvm-d327828141855d7317116e9ef0bc74924b8527d9.tar.bz2
APFloat: x - NaN needs to flip the signbit of NaN when x is a number.
Because we don't have a separate negate( ) function, 0 - NaN does double-duty as the IEEE-754 negate( ) operation, which (unlike most FP ops) *does* attach semantic meaning to the signbit of NaN. llvm-svn: 210428
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions