Skip to content

Commit 0f79bd9

Browse files
committed
test: Reset the iret variable inbetween tests of frexp
1 parent 58cbdf9 commit 0f79bd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/crt-test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ int main(int argc, char* argv[]) {
10641064
TEST_FLT(frexp(F(-INFINITY), &iret), -INFINITY); \
10651065
TEST_FLT_NAN(frexp(F(NAN), &iret), F(NAN)); \
10661066
TEST_FLT_NAN(frexp(-F(NAN), &iret), -F(NAN)); \
1067+
iret = 0; \
10671068
TEST_FLT(frexp(F(0x1.4p+42), &iret), 0.625); \
10681069
TEST_INT(iret, 43)
10691070

0 commit comments

Comments
 (0)