[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23200] Re: [Bug #1336] Change in string representation of Floats

From: Charles Oliver Nutter <charles.nutter@...>
Date: 2009-04-14 05:22:49 UTC
List: ruby-core #23200
Yukihiro Matsumoto wrote:
> The reason for the change (increased precision) was too many people do
> not understand the nature of floating point values on computers, and
> fall in error traps by illusion partly emphasized by dropping
> precision in string representations.

Well put. This is what I tried to get across in my too-long response. 
Don't hide the imprecision behind false precision, because it only leads 
to bugs.

- Charlie

In This Thread