Summary: to!float("0") fails
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Ola �sttveit <> 2010-08-21 01:32:34 PDT ---
import std.conv;
auto zero = to!double("0");

fails with
Attempting to fetch the front of an empty array

It doesn't matter if you convert to float, double or real.
Converting ".0" and "0.0" works fine.

It works fine on dmd-2.042.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to