Re: Request: Integer Division

new topic     » goto parent     » topic index » view thread      » older message » newer message
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: tongue

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu