summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-06-19 21:23:18 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-06-19 21:23:18 +0000
commit07969dc8aed62fcd5c5760b2ec331275479f4a80 (patch)
treedd98fa7223a4b857544308302963ec7b1d0b90c5 /include
parent63e8ba9bcf1d83422f56ae2454dbd7190c1e2a41 (diff)
downloadllvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.tar.gz
llvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.tar.bz2
llvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.tar.xz
[APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteNonZero.
Turns out all the references were in llvm and not in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/APFloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h
index d104343844..8df2ce0f64 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() && isNormal(); }
+ bool isIEEENormal() const { return !isDenormal() && isFiniteNonZero(); }
/// Returns true if and only if the current value is zero, subnormal, or
/// normal.