Re: Definition of integer division

From: Geoffrey.Coram <Geoffrey.Coram_at_.....>
Date: Wed Dec 14 2005 - 06:12:08 PST
Also see 4.1.1.2, Arithmetic conversion, which says that
if either operand is real, the other operand is converted
to real, thus 2) and 3) are performed as real division.

But you must have read that section, since "integer
division" appears twice therein.  Are you concerned that
the LRM does not specify that "integer division" means
truncation as Shalom pointed out?

-Geoffrey


"Muranyi, Arpad" wrote:
> 
> I am trying to figure out from the v2.2 LRM what the
> definition of "integer division" is.  This appears
> three times in the LRM, but it really doesn't say what
> it is.
> 
> Which one of these is/are considered integer division:
> 
> 1)   integer / integer
> 2)   real / integer
> 3)   integer / real
> 
> Thanks,
> 
> Arpad
> =====================================================
Received on Wed Dec 14 06:12:12 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 06:12:40 PST