[Issue 5568] A problem with BigInt modulus
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 13 00:23:03 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5568
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> 2011-02-13 00:20:33 PST ---
(In reply to comment #1)
> Problem originally found by tsukikage.
>
> A handy printing function for BigInts is really needed in Phobos.
Have you tried writefln?
import std.stdio;
import std.bigint;
void main()
{
BigInt a = 7;
a ^^=56;
writefln("%x", a);
writefln("%s", a);
}
--
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