Re: Request: Integer Division
- Posted by jimcbrown (admin) Jan 03, 2013
- 1315 views
jaygade said...
I'm confused -- I thought that Euphoria already did integer division on integers, assuming all variables in the expression are integers (not counting literals).
Is that not the case?
No. Try out the following code:
integer x, y, z y = 1 z = 2 x = y/z ? x
jaygade said...
Regardless of a new feature or not, is that mentioned in the manual?
I'm not sure if this is explicitly mentioned anywhere, but it has been this way since Euphoria 1.5 (if not earlier).