[Issue 5970] fix BigInt.toString

2012-04-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5970


bearophile_h...@eml.cc changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #6 from bearophile_h...@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: ---


[Issue 5970] fix BigInt.toString

2011-08-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5970



--- Comment #4 from Kenji Hara k.hara...@gmail.com 2011-08-25 01:40:12 PDT ---
(In reply to comment #3)
 A bit strange, since writefln() should really be using format().

It is not true. std.string.format() still uses std.format.doFormat(), not
formattedWrite().
I think that is old feature.

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


[Issue 5970] fix BigInt.toString

2011-08-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5970



--- Comment #5 from bearophile_h...@eml.cc 2011-08-25 01:53:06 PDT ---
See also bug 6448

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