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 | bef256f49b77b17503b23699466d9bfc2f02d65f (patch) | |
tree | 97f574bcfe3cd4b3f4bfcdcb2b576f2dc7721550 /unittests/ADT/SmallVectorTest.cpp | |
parent | c50f986b4d8ecbf3437c67e987e26e268ef5f06a (diff) | |
download | llvm-bef256f49b77b17503b23699466d9bfc2f02d65f.tar.gz llvm-bef256f49b77b17503b23699466d9bfc2f02d65f.tar.bz2 llvm-bef256f49b77b17503b23699466d9bfc2f02d65f.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions