diff options
author | Mark H Weaver <mhw@netris.org> | 2013-03-19 03:25:59 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2013-03-19 03:38:15 -0400 |
commit | 8150dfa1f2f84d151ced5f723dc69ce0cae1cd32 (patch) | |
tree | 477ae2d067c5327f531aa3fd3ccf4251f137fcc6 /module | |
parent | a9ea4f909b9970c755b0a7c4cd9da907e66496fc (diff) | |
download | guile-8150dfa1f2f84d151ced5f723dc69ce0cae1cd32.tar.gz |
Use scientific notation only if there are enough trailing zeroes.
* libguile/numbers.c (idbl2str): Print large numbers in scientific
notation only if the exponent is >= 7 and the least significant
non-zero digit has value >= radix^4.
* test-suite/tests/numbers.test ("number->string"): Add tests.
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions