[Issue 4200] "to!real(to!string(real.min_normal))" raises std.conv.ConvError

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 25 10:09:43 PST 2016


https://issues.dlang.org/show_bug.cgi?id=4200

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Andrei Alexandrescu <andrei at erdani.com> ---
Just tested, this program prints 3.3621e-4932 on macOS Sierra 10.12.1
(16B2555):

void main() {
    import std.conv, std.stdio;
    writeln(to!real(to!string(real.min_normal)));
}

--


More information about the Digitalmars-d-bugs mailing list