aboutsummaryrefslogtreecommitdiff
path: root/tests/fp/fp-test-log2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fp/fp-test-log2.c')
-rw-r--r--tests/fp/fp-test-log2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fp/fp-test-log2.c b/tests/fp/fp-test-log2.c
index 4eae93eb7c..de702c4c80 100644
--- a/tests/fp/fp-test-log2.c
+++ b/tests/fp/fp-test-log2.c
@@ -70,6 +70,7 @@ int main(int ac, char **av)
float_status qsf = {0};
int i;
+ set_float_2nan_prop_rule(float_2nan_prop_s_ab, &qsf);
set_float_rounding_mode(float_round_nearest_even, &qsf);
test.d = 0.0;