| 1 | initial version |
If you need exact results, you can use:
x = PolynomialRing(QQbar, 'x').gen()
f = x^4 + 1
rs = f.roots(ring=QQbar,multiplicities=False)
[f(u).radical_expression() for u in rs]
[0, 0, 0, 0]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.