test: Reset the iret variable inbetween tests of frexp

This commit is contained in:
Martin Storsjö committed 2023-10-26 12:01:17 +03:00
1 parent 58cbdf9453
commit 0f79bd9460
1 file changed
+1
+1
View File
@@ -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)