diff options
Diffstat (limited to 'src/bench.h')
-rw-r--r-- | src/bench.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench.h b/src/bench.h index 3a71b4aafa..d67f08a426 100644 --- a/src/bench.h +++ b/src/bench.h @@ -23,7 +23,7 @@ void print_number(double x) { if (y < 0.0) { y = -y; } - while (y < 100.0) { + while (y > 0 && y < 100.0) { y *= 10.0; c++; } |