On 5/20/20 6:42 PM, TB wrote:
>
> The _cmp_ method does not appear in
> https://doc.sagemath.org/html/en/reference/rings_numerical/sage/rings/complex_double.html
> and makes finding this fact harder for most users (in most cases _cmp_
> and other _methods_ would make the docs harder to read). Yo
One additional problem with the order is that it is not numerically stable.
An example where it is currently used in sage is
NumberField.embeddings()-function, the roots of the defining
polynomial are sorted this way. Due to the possible numerical
instability, it is not clear that the order of the
Dear Nicolas and all,
On Tuesday, May 3, 2016 at 7:59:05 AM UTC-7, Nicolas M. Thiéry wrote:
>
>
> Tangentially to the recent discussion about modularity of the Sage
> library and support for packages on top of Sage, I have started
> writing some notes about the different workflows that have been
On Wednesday, May 20, 2020 at 3:42:57 PM UTC-7, mathzeta2 wrote:
>
> This seems to be the case:
>
> https://git.sagemath.org/sage.git/tree/src/sage/rings/complex_number.pyx#n1176
>
>
> https://git.sagemath.org/sage.git/tree/src/sage/rings/complex_double.pyx#n807
>
> The latter even says: "We or
This seems to be the case:
https://git.sagemath.org/sage.git/tree/src/sage/rings/complex_number.pyx#n1176
https://git.sagemath.org/sage.git/tree/src/sage/rings/complex_double.pyx#n807
The latter even says: "We order the complex numbers in dictionary order
by real parts then imaginary parts.
Th
Complex numbers are ordered lexicographically (first by real part
and then imaginary part). I agree that it is not completely natural,
but having a total ordering is very useful when programming.
Le 20/05/2020 à 23:12, Bruce Westbury a écrit :
This was unexpected
{{{
sage: CC(I) > CC(0)
True
sa
This was unexpected
{{{
sage: CC(I) > CC(0)
True
sage: CC(-I) > CC(0)
False
}}}
Are these the intended results?
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to s
Hi again,
Commit a960857c7d8e5ea7c4d4c2958e38ec52778d85d9 of the Flint
repository [1] is now flint-2.6.0-alpha2
This is the last chance for developers working on related projects to
see if Flint works as expected for them, before we start asking end
users/distributions to start testing.
We have