You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Output formatting error for positive numbers in scientific notation with long mantissas and negative exponents #589
Describe the bug
When outputting positive numbers in scientific notation with a long mantissa and negative exponent, the leading digit of the number is incorrectly replaced with a minus sign.
For example:
The positive number 1.11111111e-5 is incorrectly formatted as -.111e-05. This can be misleading because while the latter is a valid float representation in Python, it represents a completely different (and negative) value.
Activity
t-muser commentedon Aug 27, 2025
Ugh the formatting really keeps on haunting us. Thanks for reporting @LiemuR! :) @adrianmolzon would you maybe have time to look at this?
adrianmolzon commentedon Aug 27, 2025
Ooph yeah I can take a look, that's a silly bug. Thanks for reporting!
adrianmolzon commentedon Aug 28, 2025
#590
t-muser commentedon Sep 9, 2025
should be fixed! :)