[#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:23186] Re: [Bug #1336] Change in string representation of Floats

From: Yukihiro Matsumoto <matz@...>
Date: 2009-04-12 22:28:21 UTC
List: ruby-core #23186
Hi,

In message "Re: [ruby-core:23181] Re: [Bug #1336] Change in string representation of Floats"
    on Sun, 12 Apr 2009 03:53:12 +0900, Brent Roman <brent@mbari.org> writes:

|I'd prefer that Float#to_s => rounded, Float#inspect => non rounded
|(i.e. 0.9.inspect => "0.8999999999")

I see several people who prefer that way.  Could you elaborate the
reason behind the preference?  Considering being to_s for mere string
representation, and inspect being human readable string
representation, I thought other way around.

							matz.

In This Thread