On Tue, Mar 31, 2009 at 1:32 AM, Ryan Davis <ryand-ruby / zenspider.com> wrote:
>
> On Mar 30, 2009, at 23:58 , brian ford wrote:
>
>> Where was this discussed and what was the reason for changing it?
>
>
> I can answer the latter:
>
>> r22783 | nobu | 2009-03-05 01:36:39 -0800 (Thu, 05 Mar 2009) | 3 lines
>>
>> * numeric.c (flo_to_s): keeps enough precision for round trip.
>>  

This is more "what it does" than why it was changed. Why was it needed?

Ruby cannot round-trip a lot of stuff via the object's to_s or inspect
string. That's what marshal is for.

Why was it so important to change Ruby's long standing friendly
floats? I personally see it having a lot of unintended consequences.

Brian