www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Bigint up to DMD 1.022 now

reply yidabu <yidabu.nospam gmail.com> writes:
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
Oct 25 2007
next sibling parent davidl <davidl 126.com> writes:
在 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/
Oct 25 2007
prev sibling parent Don Clugston <dac nospam.com.au> writes:
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.
Oct 26 2007