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

Function doF32SubR

source/test/testFPU.cpp:423–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423void doF32SubR() {
424 F32SubR(0.0f, 0.0f, 0.0f);
425 F32SubR(-0.0f, 0.0f, 0.0f);
426 F32SubR(0.0f, -0.0f, 0.0f);
427
428 F32SubR(0.0f, POSITIVE_INFINITY, POSITIVE_INFINITY);
429 F32SubR(POSITIVE_INFINITY, 0.0f, NEGATIVE_INFINITY);
430 F32SubR(0.0f, NEGATIVE_INFINITY, NEGATIVE_INFINITY);
431 F32SubR(NEGATIVE_INFINITY, 0.0f, POSITIVE_INFINITY);
432 F32SubR(NEGATIVE_INFINITY, POSITIVE_INFINITY, POSITIVE_INFINITY);
433 F32SubR(POSITIVE_INFINITY, 1.0f, NEGATIVE_INFINITY);
434 F32SubR(POSITIVE_INFINITY, 2.0f, NEGATIVE_INFINITY);
435 F32SubR(POSITIVE_INFINITY, POSITIVE_INFINITY, TEST_NAN);
436
437 F32SubR(TEST_NAN, 2.0f, TEST_NAN);
438 F32SubR(TEST_NAN, TEST_NAN, TEST_NAN);
439 F32SubR(-2.0f, TEST_NAN, TEST_NAN);
440
441 F32SubR(0.0f, 1.0f, 1.0f);
442 F32SubR(1.0f, 0.0f, -1.0f);
443 F32SubR(0.0f, -1.0f, -1.0f);
444 F32SubR(-1.0f, 0.0f, 1.0f);
445 F32SubR(-1.0f, 1.0f, 2.0f);
446 F32SubR(1.0f, -1.0f, -2.0f);
447 F32SubR(-1.0f, -1.0f, 0.0f);
448 F32SubR(1.0f, 1.0f, 0.0f);
449
450 F32SubR(100.01f, 0.001f, -100.009f);
451}
452
453void testF32SubR() {
454 doF32SubR();

Callers 1

testF32SubRFunction · 0.85

Calls 1

F32SubRFunction · 0.85

Tested by

no test coverage detected