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
A complex number made with downcasting off prints as a different number once downcasting is back on #1610
What it did: Printed 1 - 1/3i. The parser reads that back as 1 - 1/(3i), which is 1 + i/3. Printed inside the scope, the same number is 1 - 0.3333333333333333333333333333333333333333i. A small imaginary part is lost altogether: erfc(16 - 0.5i), evaluated with downcasting off, prints as -2.8337...E-113 - 0i, though its imaginary part is -9.4899...E-114. Latexize does the same.
What it should have done: Print the number it holds, whatever the setting is when it is printed.
Activity
A complex number prints the number it holds, whatever the downcasting…