Re: Request: Integer Division
- Posted by mattlewis (admin) Jan 02, 2013
- 1381 views
jimcbrown said...
Ah, I didn't think about using the backslash as the low-level fast intdiv operator. I think this is the best approach.
Gah! That was SnakeCharmer's original proposal:
SnakeCharmer said...
I offer to include integer division, for example:
integer Y = 3 integer Z = 2 integer X = Y \ Z
instead of
integer X = trunc(X/Z)
Matt