I think this is a bug (the only reasonable answer is to raise a TypeError):
sage: sin(Mod(7,9))
0.656986598718789
I looked at the source, but I couldn't easily find where the conversion
Mod(7,9) -> 7.0 happens. Is GiNaC to blame for this?
--
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/groups/opt_out.