MCPcopy Create free account
hub / github.com/cpputest/cpputest / IsInfForSystemsWithoutInf

Function IsInfForSystemsWithoutInf

tests/CppUTest/TestFailureNaNTest.cpp:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43extern "C" {
44 static int IsNanForSystemsWithoutNan(double d) { return ((long)not_a_number == (long)d); }
45 static int IsInfForSystemsWithoutInf(double d) { return ((long)infinity == (long)d); }
46}
47
48TEST_GROUP(TestFailureNanAndInf)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected