Mercurial > octave
view .hgsubstate @ 27466:6e8dac65d405
Switch to scientific notation for format short when values are large or small (bug #56971).
* pr-output.cc (make_real_format, make_real_matrix_format, make_complex_format,
make_complex_matrix_format, make_range_format): Switch to scientific notation
when number of significant digits (ld + rd) exceeds 1.5 * output_precision.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 01 Oct 2019 22:06:01 -0700 |
parents | f6c466eafc5d |
children | 0dad96574d12 |