Hi,
I am writing an implementation of the Brent-Salamin algorithm for
calculating pi. I want to be able to display potentially a large
number of decimal places in the result (hundreds at least). However I
am finding that even using long double values in my calculation gives
me only the first 50 or so decimal places. Is this a limitation of
long double that I am running into here?
Should I be using NSDecimal instead to do this kind of calculation? If
so, can anyone point me at a good example of its use as I am
struggling with how to use it?
Thanks,
Ian.
--
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com