Re: Floating-point differences between ARM processors
Re: Floating-point differences between ARM processors
- Subject: Re: Floating-point differences between ARM processors
- From: Roland King <email@hidden>
- Date: Sat, 05 Jan 2013 14:37:46 +0800
Have you looked at crlibm? I've never used it on OSX or iOS or even tried compiling it but I've seen it linked into some code at work.
On 5 Jan, 2013, at 10:38 AM, Rick Mann <email@hidden> wrote:
> So, we've run into an issue in our physics simulation where the floating point results from cos() (and probably other intrinsics) are different between Apple ARM 5 and Apple ARM 6 processors. One person online said he solved the issue by implementing his own intrinsics, but I don't know how to do that and ensure I don't get the same issues.
>
> I'm not sure how it can be justified, producing different results, for the sake of performance or battery life, but that seems to be the reason for the differences.
>
> Does anyone know of available implementations, or a magic switch we can put in our code to make it behave identically on all platforms?
>
> Thanks,
>
>
> --
> Rick
>
_______________________________________________
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