On Wednesday, 21 March 2012 16:42:27 UTC, Emil wrote:
>
> Hi David, thanks for your reply!
>
> I was wondering if there is a way to automatically get the desired
> embedding into AA. [snip] Do you think it is worth me making a
> ticket for this?
>
That's more or less what the ticket 12715 I o
Hi David, thanks for your reply!
I was wondering if there is a way to automatically get the desired
embedding into AA. If I do:
sage: Q=NumberField(x^2-2,'x',embedding=1.41)
sage: x=Q.gen()
sage: float(x)
1.4142135623730949
Then, I've made a field with an embedding, so really there should only
b
On Tuesday, 20 March 2012 22:26:35 UTC, David Loeffler wrote:
>
> This doesn't really answer your question, of course. If you really do want
> to sort according to a given real embedding and you don't want to be
> trapped by numerical precision issues, then the right tool for the job is
> the
Dear Emil,
There's a bit of a tug of war going on with comparison for number field
elements. On the one hand, it should always be possible to compare two
elements of a given number field, and the resulting ordering should be a
total order and one that's deterministic and quick to compute. On th