On 2014-09-03 13:16, John Cremona wrote:
Alternatively we could allow a new notation like O(p,n) or even (since
p will be known from the context anyway OO(n) where "OO" is something
to be decided, no literally OO necessarily.
Another option is to create a new class of Integer, which remembers that it was computed as p^n, i.e. change the exponentiation operator. This would be analogous to the RealLiteral that we already have. Then we don't need to rely on special preprocessor tricks and it would work in all cases.

--
You received this message because you are subscribed to the Google Groups 
"sage-nt" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/sage-nt.
For more options, visit https://groups.google.com/d/optout.

Reply via email to