diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-06-20 18:34:38 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-06-20 18:34:38 +0000 |
commit | a1694e578492c90c246e59ec861c1a34f8ad7b4d (patch) | |
tree | 3454a7bee509aeda063c33f0571c5a915eef32ae /include | |
parent | eb729e004bed134c61b811286e958815b9c4809f (diff) | |
download | external_llvm-a1694e578492c90c246e59ec861c1a34f8ad7b4d.zip external_llvm-a1694e578492c90c246e59ec861c1a34f8ad7b4d.tar.gz external_llvm-a1694e578492c90c246e59ec861c1a34f8ad7b4d.tar.bz2 |
[APFloat] Rename isIEEENormal => isNormal and remove old isNormal method.
The old isNormal is already functionally replaced by the method isFiniteNonZero
in r184350 and all references to said method were replaced in LLVM/clang in
r184356/134366.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/APFloat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index 8df2ce0..0613376 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -362,7 +362,7 @@ public: /// /// The current implementation of isNormal() differs from this by treating /// subnormal values as normal values. - bool isIEEENormal() const { return !isDenormal() && isFiniteNonZero(); } + bool isNormal() const { return !isDenormal() && isFiniteNonZero(); } /// Returns true if and only if the current value is zero, subnormal, or /// normal. @@ -394,7 +394,6 @@ public: fltCategory getCategory() const { return category; } const fltSemantics &getSemantics() const { return *semantics; } bool isNonZero() const { return category != fcZero; } - bool isNormal() const { return category == fcNormal; } bool isFiniteNonZero() const { return isFinite() && !isZero(); } bool isPosZero() const { return isZero() && !isNegative(); } bool isNegZero() const { return isZero() && isNegative(); } |