[Issue 5568] A problem with BigInt modulus

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 13 06:00:34 PST 2011


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



--- Comment #3 from bearophile_hugs at eml.cc 2011-02-13 05:58:03 PST ---
(In reply to comment #2)

> Have you tried writefln?
> 
> import std.stdio;
> import std.bigint;
> 
> void main()
> {
>     BigInt a = 7;
>     a ^^=56;
>     writefln("%x", a);
>     writefln("%s", a);    
> }

I have never tried that. I suggest to add this example to docs of the
std.bigint module :-)

-- 
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