Re: Why no mod function?

Martin Rubey <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user
Message-ID <[email protected]>
Dear Alasdair,

apart from the technical issue of applying this patch to your local tree, I'd
like to advise you not to resort to lisp for this particular purpose.  Try to
stick to SPAD.  This will make it easier to reuse and debug your code.

In fact, reading

> x mod y == integer MOD(x,y)$Lisp

I do not really see what mod does exactly.  Since SPAD was made for expressing
maths, it should be easy to rewrite it in SPAD.

By the way, what's the difference to positiveRemainder?

Martin
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.