test: Reset the iret variable inbetween tests of frexp
This commit is contained in:
1 parent
58cbdf9453
commit
0f79bd9460
1 file changed
+1
@@ -1064,6 +1064,7 @@ int main(int argc, char* argv[]) {
|
||||
TEST_FLT(frexp(F(-INFINITY), &iret), -INFINITY); \
|
||||
TEST_FLT_NAN(frexp(F(NAN), &iret), F(NAN)); \
|
||||
TEST_FLT_NAN(frexp(-F(NAN), &iret), -F(NAN)); \
|
||||
iret = 0; \
|
||||
TEST_FLT(frexp(F(0x1.4p+42), &iret), 0.625); \
|
||||
TEST_INT(iret, 43)
|
||||
|
||||
|
||||
Reference in new issue
Block a user