www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22001] New: Equality of std.conv.toChars() results for radix

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

          Issue ID: 22001
           Summary: Equality of std.conv.toChars() results for radix 10
                    depends on uninitialized bytes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: kinke gmx.net

This fails, at least most of the time:

void main()
{
    import std.conv;
    assert(toChars(123) == toChars(123));
}

--
Jun 07