diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2007-10-14 10:39:51 +0000 |
---|---|---|
committer | Neil Booth <neil@daikokuya.co.uk> | 2007-10-14 10:39:51 +0000 |
commit | e5e0194583c9d95cae685da139531624e050d39e (patch) | |
tree | 4bb499f32bcf9f131b37c84122892b070a2ff25f /include/llvm/ADT/APFloat.h | |
parent | caf19d79e5cd41229d85bd514b86a1423b9a0f14 (diff) | |
download | external_llvm-e5e0194583c9d95cae685da139531624e050d39e.zip external_llvm-e5e0194583c9d95cae685da139531624e050d39e.tar.gz external_llvm-e5e0194583c9d95cae685da139531624e050d39e.tar.bz2 |
Consolidate logic for creating NaNs. Silence compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APFloat.h')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index 7a43843..9037ef5 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -268,6 +268,7 @@ namespace llvm { opStatus multiplySpecials(const APFloat &); /* Miscellany. */ + void makeNaN(void); opStatus normalize(roundingMode, lostFraction); opStatus addOrSubtract(const APFloat &, roundingMode, bool subtract); cmpResult compareAbsoluteValue(const APFloat &) const; |