Re: Big/Arbitrary integers
Re: Big/Arbitrary integers
- Subject: Re: Big/Arbitrary integers
- From: Shon Frazier <email@hidden>
- Date: Tue, 24 Jan 2006 19:01:48 -0500
Thanks for everyone's input. My project is number theory related
(with a dash of crypto). I'll go with OpenSSL since it's included in
the OS X distribution. I was kinda hoping for something a little
more Objective C-ish, but OpenSSL will do just fine...
Thanks again,
--Shon
On Jan 24, 2006, at 1:04 PM, Shawn Erickson wrote:
On 1/24/06, Shawn Erickson <email@hidden> wrote:
On 1/23/06, Greg Herlihy <email@hidden> wrote:
For a "native" implementation of a big integer library (that is
one that
ships on every Mac), I would look at openssl's Big Number library
whose
interface is found in <openssl/bn.h> and whose documentation can
be found in
the "bn" man page and whose source can even be downloaded from the
openssl.org web site.
I would also consider using the vBigNum library that is part of the
Accelerate framework (housed as part of vecLib)... not knowing
exactly
what is wanted.
<file:///System/Library/Frameworks/Accelerate.framework/Frameworks/
vecLib.framework/Headers/vBigNum.h>
I should point out that vBigNum supports sign or unsigned integers
that are 256, 512, or 1024 bits in width and is available on Mac OS X
since 10.0. It uses vector operations if the CPU supports it otherwise
it falls back on an CPU optimized scalar implementation. Apple has/is
porting it to use SSE on Intel as well.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden