Re: Request: Integer Division

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu