Re: deprecated BIGNUM replaced by what?
Re: deprecated BIGNUM replaced by what?
- Subject: Re: deprecated BIGNUM replaced by what?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 27 Feb 2014 10:14:37 +0700
On 27 Feb 2014, at 02:03, Uli Kusterer <email@hidden> wrote:
>
> On 26 Feb 2014, at 09:51, Gerriet M. Denkmann <email@hidden> wrote:
>> I want to multiply two (big) numbers.
>>
>> I found /usr/include/openssl/bn.h which has just what I need.
>> But everything is marked DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER.
>>
>> So what is one expected to do in 10.9.2?
>>
>> There is vBigNum.h in Accelerate.framework, but this does not help with arbitrary large numbers.
>
> NSDecimalNumber ?
[ [ NSDecimalNumber maximumDecimalNumber ] doubleValue] = 3.40282e+165.
I really want arbitrary large numbers, i.e. hundreds (if not a few thousand) decimal places.
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden