summary refs log tree commit diff stats
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 de702c4c80..79f619cdea 100644
--- a/tests/fp/fp-test-log2.c
+++ b/tests/fp/fp-test-log2.c
@@ -71,6 +71,7 @@ int main(int ac, char **av)
     int i;
 
     set_float_2nan_prop_rule(float_2nan_prop_s_ab, &qsf);
+    set_float_default_nan_pattern(0b01000000, &qsf);
     set_float_rounding_mode(float_round_nearest_even, &qsf);
 
     test.d = 0.0;