[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: [ ruby-Bugs-7500 ] ^ | & Float bug

From: Yukihiro Matsumoto <matz@...>
Date: 2006-12-30 16:50:41 UTC
List: ruby-core #9807
Hi,

In message "Re: [ ruby-Bugs-7500 ] ^ | & Float bug"
    on Sun, 31 Dec 2006 01:08:34 +0900, <noreply@rubyforge.org> writes:

|Operations such as 5^4.5, and 0|9.9 first convert the Float to an Integer to preform the calculation. However this is a bug because it should be converting to a Fixnum because of cases such as this:
|
|0|1e20
|RangeError: float 1e+20 out of range of integer
|
|1e20 is certainly out of range of integer, but why should it matter? It is certainly unexpected behavior.

OK, tell me the _expected behavior_ for bitwise-or of an integer and
a float number.

							matz.

In This Thread

Prev Next