We also have sage: RR(tan(pi/20)) == CC(tan(pi/20)) False
But it seems right for cos, sin, exp, atan, cosh, sinh. Is there a way to test all symbolic functions? 2015-02-26 10:02 UTC+01:00, Ralf Stephan <[email protected]>: > On Thursday, February 26, 2015 at 9:50:40 AM UTC+1, vdelecroix wrote: >> >> sage: bool(RR(sqrt(2)) == sqrt(2)) >> False >> sage: sqrt(2).n() == RR(sqrt(2)) >> True >> > These two come from bool(sqrt(2)==sqrt(2).n()) being False I think > (because Maxima is involved here) but this is different than > > sage: bool(sqrt(2).n()==CC(sqrt(2))) > False > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
