GNOME Bugzilla – Bug 686480
incorrect rendering of scientific format
Last modified: 2012-10-26 23:31:56 UTC
Created attachment 226836 [details] Spreadsheet I have this file I've made in 2007, which doesn't display correctly the format of y axis labels. The format should be exponents.
The format #.00EE0 is no longer recognized. Apparently one now has #.00EE00 or #.00EE+0 Note that the former incorrectly renders as 3.14x10^0 ie. with only a single digit in the exponent.
Looking at #.00EE00 first. We're compiling it wrong. We generate this for #.00EE00 ... OP_NUM_PRINTF_F 0 OP_NUM_SIGN OP_NUM_EXPONENT_SIGN 0 OP_NUM_MOVETO_ONES OP_NUM_STORE_POS OP_NUM_DIGIT_1 '0' <-- One only OP_NUM_REST_WHOLE OP_NUM_APPEND_MODE OP_NUM_SIMPLIFY_MARKUP_MANTISSA whereas for #.00E+00 (single-E) we generate ... OP_NUM_PRINTF_F 0 OP_NUM_SIGN OP_NUM_EXPONENT_SIGN 1 OP_NUM_MOVETO_ONES OP_NUM_STORE_POS OP_NUM_DIGIT_1 '0' <-- Two! OP_NUM_DIGIT_1 '0' OP_NUM_REST_WHOLE OP_NUM_APPEND_MODE
Created attachment 226864 [details] [review] Tentative patch We need some kind of tests for this.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.