diff options
author | Stephen Canon <scanon@apple.com> | 2014-06-08 16:53:31 +0000 |
---|---|---|
committer | Stephen Canon <scanon@apple.com> | 2014-06-08 16:53:31 +0000 |
commit | d327828141855d7317116e9ef0bc74924b8527d9 (patch) | |
tree | 87a2a502b243a3a753ac71837c4505077a5a7651 /llvm/unittests/ADT/SmallVectorTest.cpp | |
parent | 960ea3f01831cd3f990e33e3658f58b12906917c (diff) | |
download | llvm-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