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
RealNumber in Sage is the class for floating-point real numbers. ComplexNumber is a function that aims to do the same for complex numbers but its implementation is very wrong.
sage: a = CC('1.233123145515341')
sage: b = ComplexNumber(a.real(), a.imag())
1.233123145515340
sage: ComplexNumber(a.real(), a.imag()) == b
False
We should either remove this function or improve it.
RealNumber
in Sage is the class for floating-point real numbers.ComplexNumber
is a function that aims to do the same for complex numbers but its implementation is very wrong.We should either remove this function or improve it.
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/24555
The text was updated successfully, but these errors were encountered: