I agree it's probably not useful; it probably arises because the C compiler does "integer division" and we can't change that. Would certainly be worth adding to a "lint" checker for Verilog-A. -Geoffrey "Muranyi, Arpad" wrote: > > Sorry for asking this question, but is this > "integer division" really a useful thing? > It seems that it causes a lot of confusion > and headache for many people... One can > always use the expression floor(1/2) to get > the desired result, if that is what is > expected instead of the normal math result > that most everyone would intuitively expect. > > ArpadReceived on Fri Jan 27 08:56:53 2006
This archive was generated by hypermail 2.1.8 : Fri Jan 27 2006 - 08:57:04 PST