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

Function doF32Mul

source/test/testFPU.cpp:461–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461void doF32Mul() {
462 F32Mul(0.0f, 0.0f, 0.0f);
463 F32Mul(-0.0f, 0.0f, 0.0f);
464 F32Mul(0.0f, -0.0f, 0.0f);
465
466 F32Mul(0.0f, POSITIVE_INFINITY, TEST_NAN);
467 F32Mul(POSITIVE_INFINITY, 0.0f, TEST_NAN);
468 F32Mul(0.0f, NEGATIVE_INFINITY, TEST_NAN);
469 F32Mul(NEGATIVE_INFINITY, 0.0f, TEST_NAN);
470 F32Mul(NEGATIVE_INFINITY, POSITIVE_INFINITY, NEGATIVE_INFINITY);
471 F32Mul(POSITIVE_INFINITY, 1.0f, POSITIVE_INFINITY);
472 F32Mul(POSITIVE_INFINITY, 2.0f, POSITIVE_INFINITY);
473 F32Mul(POSITIVE_INFINITY, POSITIVE_INFINITY, POSITIVE_INFINITY);
474
475 F32Mul(TEST_NAN, 2.0f, TEST_NAN);
476 F32Mul(TEST_NAN, TEST_NAN, TEST_NAN);
477 F32Mul(-2.0f, TEST_NAN, TEST_NAN);
478
479 F32Mul(0.0f, 1.0f, 0.0f);
480 F32Mul(1.0f, 0.0f, 0.0f);
481 F32Mul(0.0f, -1.0f, 0.0f);
482 F32Mul(-1.0f, 0.0f, 0.0f);
483 F32Mul(-1.0f, 1.0f, -1.0f);
484 F32Mul(1.0f, -1.0f, -1.0f);
485 F32Mul(-1.0f, -1.0f, 1.0f);
486 F32Mul(1.0f, 1.0f, 1.0f);
487
488 F32Mul(100.01f, 0.001f, .10001001f);
489}
490
491void testF32Mul() {
492 doF32Mul();

Callers 1

testF32MulFunction · 0.85

Calls 1

F32MulFunction · 0.85

Tested by

no test coverage detected