That NSDecimalNumber is essentially the 128-bit quadruple-percision float number, in an non-IEEE-754 fashion.
You can still use OpenSSL, either ignore the deprecation or compile and carry your own copy. Apple deprecated it because OpenSSL API isn’t stable enough. Alternatively, you can use other bignum implementations like GNU MP + GNU MPFR, or if you dare to spend the time, you can translate Java BigInteger and BigDecimal to Objective-C as subclasses of NSNumber. (I would like to see the latter being done by someone and open sourced it.) On Feb 27, 2014, at 1:08, Jens Alfke <j...@mooseyard.com> wrote: > > On Feb 26, 2014, at 8:14 AM, Uli Kusterer <witness.of.teacht...@gmx.net> > wrote: > >> NSDecimalNumber ? > > That’s not a proper bignum; it has a limited precision of 38 decimal digits > (sounds like 128 bits?) > > Gerriet: There must be a whole bunch of bignum libraries for C or C++; find > one of those and download and use it. > > —Jens > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com > > This email sent to xcvi...@me.com
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com