I'm not finding such a thing in the function reference, but asking on the off
chance I'm
overlooking it. Is there a way in Picolisp to get a division result and
remainder as a single
operation?
Sure
http://ix.io/2kBM
Thanks! But as Alex intuited, I was looking to leverage the underlying
processor operation that returns both parts of the integer divide in a
single operation. But if I follow his response correctly, the cost of
building the memory representation of the answer swamps the actual cost
of the divide, and that's going to be similar regardless of if the
divide and remainder wind up being one machine instruction or two.
-wilhelm
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe