Reinterprets a bit pattern as a floating-point number. This function is needed to test the AlmostEquals() method.
| 6726 | // |
| 6727 | // This function is needed to test the AlmostEquals() method. |
| 6728 | static RawType ReinterpretBits(const Bits bits) { |
| 6729 | FloatingPoint fp(0); |
| 6730 | fp.u_.bits_ = bits; |
| 6731 | return fp.u_.value_; |
| 6732 | } |
| 6733 | |
| 6734 | // Returns the floating-point number that represent positive infinity. |
| 6735 | static RawType Infinity() { |
nothing calls this directly
no outgoing calls
no test coverage detected