[Issue 5231] BigInt lacks a normal toString()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 18 00:05:00 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5231
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2010-11-18 00:03:42 PST ---
That's not really the correct solution.
BigInt should act like an int. Specifically,
BigInt b;
writefln(" b = %d, %x", b, b);
should just work.
This issue cannot be resolved until the definition of toString() is changed.
void toString() is a fundamentally broken design. It's wrong on many levels.
--
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