On 1/2/2023 3:38 PM, Jeremy Nicoll wrote:
> be better if the dual division (if it HAS to be done) was done within
> one method, or function (for Classic support), in the interpreter itself.

Even if there isn't one instruction that will return both values,
multiplying is WAY faster than dividing, so instead of the second
division you'd want:

  remainder = dividend - quotient * divisor

I wasn't sure I could think of a good way for a function to return the
two values--though I suppose they could just be blank-delimited.

¬R




_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to