mirror of
https://github.com/google/googletest.git
synced 2025-04-02 18:00:25 +00:00
Fix a typo
I have no idea what DLP here means, but ULP make sense. Assuming DLP is a typo of ULP. PiperOrigin-RevId: 739113596 Change-Id: Ib8c66d54d95e3b015c79af1285b7008c91b8502e
This commit is contained in:
parent
e7b26b7246
commit
c2ceb2b09b
@ -332,7 +332,7 @@ class FloatingPoint {
|
||||
//
|
||||
// - returns false if either number is (or both are) NAN.
|
||||
// - treats really large numbers as almost equal to infinity.
|
||||
// - thinks +0.0 and -0.0 are 0 DLP's apart.
|
||||
// - thinks +0.0 and -0.0 are 0 ULP's apart.
|
||||
bool AlmostEquals(const FloatingPoint& rhs) const {
|
||||
// The IEEE standard says that any comparison operation involving
|
||||
// a NAN must return false.
|
||||
|
Loading…
x
Reference in New Issue
Block a user