[#11073] segfault printing instruction sequence for iterator — <noreply@...>

Bugs item #10527, was opened at 2007-05-02 14:42

14 messages 2007/05/02
[#11142] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Nobuyoshi Nakada <nobu@...> 2007/05/10

Hi,

[#11188] Re: [ ruby-Bugs-10527 ] segfault printing instruction sequence for iterator — Paul Brannan <pbrannan@...> 2007/05/16

On Thu, May 10, 2007 at 04:51:18PM +0900, Nobuyoshi Nakada wrote:

[#11234] Planning to release 1.8.6 errata — Urabe Shyouhei <shyouhei@...>

Hi all.

17 messages 2007/05/25

Re: [ ruby-Bugs-10853 ] Loss of precision during iteration.

From: Yukihiro Matsumoto <matz@...>
Date: 2007-05-16 01:59:44 UTC
List: ruby-core #11178
Hi,

In message "Re: [ ruby-Bugs-10853 ] Loss of precision during iteration."
    on Wed, 16 May 2007 09:53:51 +0900, <noreply@rubyforge.org> writes:

|>Comment By: cory odaniel (corifornia)
|Date: 2007-05-16 00:53
|
|Message:
|How is it not a bug?  Its not like its a huge decimal number, its a tenth!
|Is it not a bug because its not recreatable or does occur on other systems?  If its 
|occuring and its anything less than 6 decimal places and losing precision, I think 
|it should definetly be considered a bug.

It happens on every language that uses floating point numbers.  Maybe
Ruby is too verbose in printing numbers.  You haven't noticed the error
if you used

  printf "%5.5f", first_num

instead of puts.

							matz.

In This Thread

Prev Next