Numeric access to char[]

John Reimer terminal.node at gmail.com
Sun Aug 27 13:22:21 PDT 2006


On Fri, 25 Aug 2006 16:19:29 -0700, Chad J  
<gamerChad at _spamIsBad_gmail.com> wrote:

> Brad Roberts wrote:
>>  Have any of you looked at the GMP library?  It's a highly optimized  
>> large number library.  It supports both large integers and large  
>> floats.  Providing a D wrapper on top of it would be the direction I'd  
>> head in for this sort of use case.
>>  Later,
>> Brad
>
> Hey thanks for that info.  I didn't know that existed.
>
> I probably won't be writing any wrapper though, as the thing I wrote  
> here was just for fun.  Maybe I will if I ever seriously need a bignum  
> library though.


There's no need to make another one. :)

A GMP wrapper was written long ago by Ben Hinkle:

http://home.comcast.net/~benhinkle/gmp-d/

-JJR



More information about the Digitalmars-d-learn mailing list