RE: Definition of integer division

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Tue Dec 13 2005 - 23:51:11 PST
Hi,

Only "integer/integer" is "integer division".

In the other cases, the integer is converted to real, and then real
division is performed, and the result is real.

Shalom


> -----Original Message-----
> From: owner-verilog-ams@eda.org [mailto:owner-verilog-
> ams@eda.org] On Behalf Of Muranyi, Arpad
> Sent: Wednesday, December 14, 2005 9:32 AM
> To: verilog-ams@eda.org
> Subject: Definition of integer division
> 
> 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 Tue Dec 13 23:51:18 2005

This archive was generated by hypermail 2.1.8 : Tue Dec 13 2005 - 23:51:29 PST