On 30 November 2011 09:30, Don Clugston <span dir="ltr"><<a href="mailto:dclugston@googlemail.com">dclugston@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 30 November 2011 09:27, Walter Bright <<a href="mailto:walter@digitalmars.com">walter@digitalmars.com</a>> wrote:<br>
> The compiler is passing the test suite now, the only failure is in the unit<br>
> tests of std.bigint. Anyhow, any brave souls who want to try it out should<br>
> have a go!<br>
<br>
</div>If anyone tries it, please help me fix the bigint failure by telling<br>
me the result of:<br>
<br>
import std.bigint;<br>
import std.stdio;<br>
<br>
string toHex(BigInt x)<br>
{<br>
    string outbuff="";<br>
    void sink(const(char)[] s) { outbuff ~= s; }<br>
    x.toString(&sink, "%x");<br>
    return outbuff;<br>
}<br>
<br>
void main()<br>
{<br>
   writeln(toHex(BigInt("0x1234567890123456789")));<br>
<div class="HOEnZb"><div class="h5">}<br></div></div></blockquote><div><br></div><div>44444567_89ABCD45_6789ABCD </div></div><div><br></div>-- <br>Robert<br><a href="http://octarineparrot.com/">http://octarineparrot.com/</a><br>