| 50 | } |
| 51 | |
| 52 | bool IsInfinity(float floatToTest) |
| 53 | { |
| 54 | const float posinf = std::numeric_limits<float>::infinity(); |
| 55 | const float neginf = -std::numeric_limits<float>::infinity(); |
| 56 | return (posinf == floatToTest |
| 57 | || neginf == floatToTest); |
| 58 | } |
| 59 | |
| 60 | void CheckFloat(const std::string& operation, |
| 61 | const float expected, |
no outgoing calls
no test coverage detected