MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / assertFloat

Function assertFloat

source/test/testFPU.cpp:1646–1648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1644}
1645
1646void assertFloat(float result, float expected) {
1647 assertTrue(fabsf(result - expected) < 0.001f);
1648}
1649
1650void doFCOS_inst(FPU_Float* st0, FPU_Float* st0Result) {
1651#if defined (BOXEDWINE_MSVC) && !defined (BOXEDWINE_64)

Callers 2

doFCOS_instFunction · 0.85
doFSIN_instFunction · 0.85

Calls 1

assertTrueFunction · 0.85

Tested by

no test coverage detected