Why no mod function?

"Alasdair McAndrew" <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user
Message-ID <[email protected]>
Why is there no modulus function in Axiom?  Such as

-13 mod 10 producing 7.

There's rem, but if you want a positive value you have to tweak the result.
I can get x mod n with (x::ZMOD n)::INT but that's a bit of a kludge, and if
I put it in a program the compiler doesn't like it.

Thanks,
Alasdair

_______________________________________________
Axiom-mail mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.