• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Big/Arbitrary integers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Big/Arbitrary integers


  • Subject: Re: Big/Arbitrary integers
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 24 Jan 2006 10:04:57 -0800

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Big/Arbitrary integers
      • From: Shon Frazier <email@hidden>
References: 
 >Re: Big/Arbitrary integers (From: Adam Leonard <email@hidden>)
 >Re: Big/Arbitrary integers (From: Greg Herlihy <email@hidden>)
 >Re: Big/Arbitrary integers (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: UI for nonuniform Core Data object hierarchy
  • Next by Date: Re: suppressing the scod at startup
  • Previous by thread: Re: Big/Arbitrary integers
  • Next by thread: Re: Big/Arbitrary integers
  • Index(es):
    • Date
    • Thread