|
From: | Alasdair McAndrew |
Subject: | Re: [Axiom-mail] Why no mod function? |
Date: | Wed, 8 Aug 2007 09:50:13 +1000 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |