Hi,

In message "[ruby-talk:03136] Re: Is divmod dangerous?"
    on 00/06/07, GOTO Kentaro <gotoken / math.sci.hokudai.ac.jp> writes:

|Oh, I misunderstood :-(  Even in C, div(x,y) satisfies 
|
|  x == y*div(x,y).quot + div(x,y).rem
|
|Okay, divmod should be change.  I vote 13/-4 -> -4 too. 
|Generally, 
|
|  num / den := floor(num "div" den)  # "div" in done in the real
|  num % den := num - den*(num/den)

So, you mean making modulo and reminder be same?  Python way?

							matz.