[#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: Float numbers comparison

From: "Paulo Soeiro" <pcsoeiro@...>
Date: 2006-12-17 13:04:50 UTC
List: ruby-core #9737
Thank you very much.

Paulo Soeiro

On 12/17/06, mathew <meta@pobox.com> wrote:
>
> On 12/16/06, Paulo Soeiro <pcsoeiro@gmail.com> wrote:
> > Thank you all for your awnsers, i haven't read them all. But i don't see
> > this problem occurring in java language, when comparing 1.9 with 1.8+0.1
> .
>
> A Ruby float is a 64 bit float using your system's native floating
> point support.
>
> A Java float is a 32 bit float using Java's independent implementation
> of IEEE 754.
>
> To make your Java code comparable to the Ruby code, replace "float"
> with "double". When I do that I get many repetitions of:
>
> a-b=-2.220446049250313E-16
> false
>
> just like with Ruby.
>
>
> mathew
> --
> <URL:http://www.pobox.com/~meta/>
>
>

In This Thread

Prev Next