[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01180] Re: Possible bug in ruby-man-1.4

From: matz@... (Yukihiro Matsumoto)
Date: 2000-01-25 06:16:49 UTC
List: ruby-talk #1180
Hi,

In message "[ruby-talk:01178] Re: Possible bug in ruby-man-1.4"
    on 00/01/25, Yukihiro Matsumoto <matz@netlab.co.jp> writes:

|The problem is about the contradiction below.

Oops, I made mistake,

|                                                   current modified
|  -13.remainder(4) => better be (-13).remainder(4)   yes      no
|  -2**2            => better be -(2**2)              no       yes

should be

>                                                   current modified
>  -13.remainder(4) => better be (-13).remainder(4)   no       yes
>  -2**2            => better be -(2**2)              yes      no

In This Thread