MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / FloatLE

Function FloatLE

tests/gtest/gtest-all.cc:2914–2917  ·  view source on GitHub ↗

Asserts that val1 is less than, or almost equal to, val2. Fails otherwise. In particular, it fails if either val1 or val2 is NaN.

Source from the content-addressed store, hash-verified

2912// Asserts that val1 is less than, or almost equal to, val2. Fails
2913// otherwise. In particular, it fails if either val1 or val2 is NaN.
2914AssertionResult FloatLE(const char* expr1, const char* expr2,
2915 float val1, float val2) {
2916 return internal::FloatingPointLE<float>(expr1, expr2, val1, val2);
2917}
2918
2919// Asserts that val1 is less than, or almost equal to, val2. Fails
2920// otherwise. In particular, it fails if either val1 or val2 is NaN.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected