MCPcopy Create free account
hub / github.com/apache/singa / FloatLE

Function FloatLE

test/gtest/gtest-all.cc:2582–2585  ·  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

2580// Asserts that val1 is less than, or almost equal to, val2. Fails
2581// otherwise. In particular, it fails if either val1 or val2 is NaN.
2582AssertionResult FloatLE(const char* expr1, const char* expr2,
2583 float val1, float val2) {
2584 return internal::FloatingPointLE<float>(expr1, expr2, val1, val2);
2585}
2586
2587// Asserts that val1 is less than, or almost equal to, val2. Fails
2588// 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