See the documentation on QQbar <https://doc.sagemath.org/html/en/reference/number_fields/sage/rings/qqbar.html>. While I'm sure there are related bugs, I agree with Nils that in this case it's working as intended. If you need a very small nonzero number, the system will compute with enough precision to determine that it is nonzero. David
On Tue, Apr 15, 2025 at 6:48 AM Georgi Guninski <ggunin...@gmail.com> wrote: > Just trying to show that real roots can be easily computed, not > relying on the bugs in roots over QQbar. > I don't see way to control the precision in the spectrum. > Who decides that small algebraic number is real, is it user's > responsibility, discarding visual non-zero? > e-60 is zero is e-58 zero or just small? > What if I need legitimate non-zero e-60? > > -- > 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 sage-devel+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/sage-devel/CAGUWgD8cTddB82YnrHZ1N3mYG_Hjdijd2PFCAWF2Wm54%2BDtzLg%40mail.gmail.com > . > -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CAChs6_mrvzD7hkuGtV16ZriEXfdG_%3DqPjKXuyQxcMFAqupQgYQ%40mail.gmail.com.