Hi,

In message "Re: 5.000...007.to_s => "5""
    on 04/04/22, Elias Athanasopoulos <elathan / phys.uoa.gr> writes:

|> Seems the issue about the boundary between "e" and "f".
|
|Still, default fmt in flo_to_s() is iniatialized to 'g' (which 
|cuts trailing decimal points).

It needs to be 'g' for scientific notation for some very big (or very
small) numbers.  By the way, 1.0e-15 epsilon is not sufficient for
numbers such as 5.0000000000000046.  I propose 5.0e-15.

							matz.