Debian Codegraph @

test/mpfrieee.awk

raw
1 # Test IEEE-754 binary double format
2 BEGIN {
3 x = 1.0e-320
4 i = 0
5 while (x > 0) {
6 printf("%.15e\n", x)
7 x /= 2
8
9 # terminate early when the test is going to fail.
10 if (++i > 50)
11 break
12 }
13 }