[Issue 5970] fix BigInt.toString

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 24 19:10:20 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5970


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #6 from bearophile_hugs at eml.cc 2012-04-24 19:11:22 PDT ---
This works correctly:

import std.bigint, std.string, std.stdio;
void main() {
    writeln(xformat("%d", BigInt(1)));
}


Change discussed here:
https://github.com/D-Programming-Language/phobos/pull/231

So format() is to be considered obsolete (and eventually deprecated and
removed, I presume). So I close this issue.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list