Thread overview | |||||
---|---|---|---|---|---|
|
October 25, 2007 Bigint up to DMD 1.022 now | ||||
---|---|---|---|---|
| ||||
Bigint written by Arcane Jill three years ago, up to DMD 1.022 now. you might find here: http://svn.dsource.org/projects/dwin/trunk/math/bigint/ example : auto a = Bigint("1234567890123456789012345678901234567890") ; Stdout(a / 10).newline; Stdout(a * 10).newline; Stdout(a % 10).newline; enjoy :) -- yidabu <yidabu.nospam@gmail.com> D China: http://bbs.yidabu.com/forum-10-1.html |
October 26, 2007 Re: Bigint up to DMD 1.022 now | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | 在 Thu, 25 Oct 2007 15:41:25 +0800,yidabu <yidabu.nospam@gmail.com> 写道: > > Bigint written by Arcane Jill three years ago, up to DMD 1.022 now. > > you might find here: > > http://svn.dsource.org/projects/dwin/trunk/math/bigint/ > > example : > > auto a = Bigint("1234567890123456789012345678901234567890") ; > Stdout(a / 10).newline; > Stdout(a * 10).newline; > Stdout(a % 10).newline; > > enjoy :) > Great work! -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ |
October 26, 2007 Re: Bigint up to DMD 1.022 now | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | yidabu wrote:
> Bigint written by Arcane Jill three years ago, up to DMD 1.022 now.
>
> you might find here:
>
> http://svn.dsource.org/projects/dwin/trunk/math/bigint/
>
> example :
>
> auto a = Bigint("1234567890123456789012345678901234567890") ; Stdout(a / 10).newline;
> Stdout(a * 10).newline;
> Stdout(a % 10).newline;
>
> enjoy :)
I presume the Arse License still applies, though. Which could reduce the usefulness of your work.
|
Copyright © 1999-2021 by the D Language Foundation