diff options
author | Dale Johannesen <dalej@apple.com> | 2009-01-20 18:35:05 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-01-20 18:35:05 +0000 |
commit | 33d95596713ee9273620af36c61a54c99471a4b8 (patch) | |
tree | e28d31de0e903db3af95b00dd238593784d55bb8 /include/llvm/ADT/APFloat.h | |
parent | 0c57e60508129bf2cc6269167b2987d191025800 (diff) | |
download | external_llvm-33d95596713ee9273620af36c61a54c99471a4b8.zip external_llvm-33d95596713ee9273620af36c61a54c99471a4b8.tar.gz external_llvm-33d95596713ee9273620af36c61a54c99471a4b8.tar.bz2 |
Add an IEEE remainder function, which is not
fully implemented yet and not used. This is
mainly to clarify that APFloat::mod implements
C fmod, not remainder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APFloat.h')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index d51bcf5..5b09d48 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -207,6 +207,9 @@ namespace llvm { opStatus subtract(const APFloat &, roundingMode); opStatus multiply(const APFloat &, roundingMode); opStatus divide(const APFloat &, roundingMode); + /* IEEE remainder. */ + opStatus remainder(const APFloat &); + /* C fmod, or llvm frem. */ opStatus mod(const APFloat &, roundingMode); opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); |