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

Function doFSTFloat

source/test/testFPU.cpp:724–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724void doFSTFloat(int op, int group, int pop) {
725 FSTFloat(op, group, 0.0f, pop);
726 FSTFloat(op, group, 1.0f, pop);
727 FSTFloat(op, group, -1.0f, pop);
728 FSTFloat(op, group, 0.00001f, pop);
729 FSTFloat(op, group, -0.00001f, pop);
730 FSTFloat(op, group, 1010.01f, pop);
731 FSTFloat(op, group, -1010.01f, pop);
732 FSTFloat(op, group, TEST_NAN, pop);
733 FSTFloat(op, group, POSITIVE_INFINITY, pop);
734 FSTFloat(op, group, NEGATIVE_INFINITY, pop);
735}
736
737void testFSTFloat() {
738 doFSTFloat(0xd9, 2, false);

Callers 2

testFSTFloatFunction · 0.85
testFSTPFloatFunction · 0.85

Calls 1

FSTFloatFunction · 0.85

Tested by

no test coverage detected