Index: src/diy-fp.h |
diff --git a/src/diy-fp.h b/src/diy-fp.h |
index f8f2673c4107010f617a304f3dc6321af28373eb..31f787265eab8d818cc926d09f4f4f7d4900fd11 100644 |
--- a/src/diy-fp.h |
+++ b/src/diy-fp.h |
@@ -25,8 +25,8 @@ class DiyFp { |
// must be bigger than the significand of other. |
// The result will not be normalized. |
void Subtract(const DiyFp& other) { |
- ASSERT(e_ == other.e_); |
- ASSERT(f_ >= other.f_); |
+ DCHECK(e_ == other.e_); |
+ DCHECK(f_ >= other.f_); |
f_ -= other.f_; |
} |
@@ -51,7 +51,7 @@ class DiyFp { |
} |
void Normalize() { |
- ASSERT(f_ != 0); |
+ DCHECK(f_ != 0); |
uint64_t f = f_; |
int e = e_; |