The test case in comment #4 is not wrong but only imprecise - numbers of digits are equal: 495.
But the description of this bug shows a severe problem with the new display routines. If the Output format is "Scientific" or "Engineering" then the display shows "2.573658112×10²²³⁴" or "257.365811241×10²²³²" which is correct. With "Decimal" I confirm it to be wrong. And if I switch to "Binary" a core is dumped!
gcalctool 5.28.x did not have this problem. It switches automatically to Scientific format if there are more than 100 digits - even when in Binary mode: 1.01110111e+1110011111110
Hint for bug hunters: with Decimal format gcalctool clips the result of 888! to 512 chars. ;-)
The test case in comment #4 is not wrong but only imprecise - numbers of digits are equal: 495.
But the description of this bug shows a severe problem with the new display routines. If the Output format is "Scientific" or "Engineering" then the display shows "2.573658112× 10²²³⁴" or "257.365811241× 10²²³²" which is correct. With "Decimal" I confirm it to be wrong. And if I switch to "Binary" a core is dumped!
gcalctool 5.28.x did not have this problem. It switches automatically to Scientific format if there are more than 100 digits - even when in Binary mode: 1.01110111e+ 1110011111110
Hint for bug hunters: with Decimal format gcalctool clips the result of 888! to 512 chars. ;-)