First time here? Check out the FAQ!
answered 10 years ago
In your case, since g can be seen as a polynomial, you can also look at its roots in the real double field (floating-point approximations with 53 bits of precision):
g
sage: g.polynomial(RDF).roots() [(-1.189207115002721, 1), (1.189207115002721, 1)]