MCPcopy Create free account
hub / github.com/catchorg/Catch2 / directCompare

Function directCompare

extras/catch_amalgamated.cpp:4497–4497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4495# pragma GCC diagnostic ignored "-Wfloat-equal"
4496#endif
4497 bool directCompare( float lhs, float rhs ) { return lhs == rhs; }
4498 bool directCompare( double lhs, double rhs ) { return lhs == rhs; }
4499#if defined( __GNUC__ ) || defined( __clang__ )
4500# pragma GCC diagnostic pop

Callers 4

bootstrapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected