[Issue 6627] New: BigInt textual representation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 8 14:03:04 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6627
Summary: BigInt textual representation
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2011-09-08 14:02:51 PDT ---
This is more than an enhancement request because I think this is a basic need.
With dmd 2.055 this code doesn't compile, but I hope it will eventually work:
import std.bigint, std.string, std.conv;
void main() {
auto s1 = text(BigInt(1));
auto s2 = format("%s", BigInt(1));
auto s3 = format("%d", BigInt(1));
}
--
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