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

Răzvan Ștefănescu <ru...@rumbu.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ru...@rumbu.ro

--- Comment #1 from Răzvan Ștefănescu <ru...@rumbu.ro> ---
The exp function works correctly.

The problem is writefln calling snprintf from Microsoft stdlib which does not
support reals. Real parameters are downcasted to double, that's why we obtain
infinity.

The same will happen on 32-bit if compiled with -mscoff32.

Problem:

https://github.com/dlang/phobos/blob/master/std/format.d#L2532

--

Reply via email to