• 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: round() returning NaN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: round() returning NaN


  • Subject: Re: round() returning NaN
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 03 Apr 2011 14:12:12 +0200

Le 3 avr. 2011 à 11:26, Christian Demmer a écrit :

> Eyal Redler wrote:
>> I would appreciate any ideas or directions that you or others might have, this is really worrying and I'm out of ideas...
>
> Reminds me a bit of the discussion starting here:
>
> <http://lists.apple.com/archives/xcode-users/2009/Oct/msg00660.html>
>


In short, the problem was that after (explicitly) using mmx instructions, you must call emms instruction to cleanup the floating point registers, else any use of a floating point instructions may behave unexpectedly.

Are you using mmx or calling code that may use it and does not call emms to cleanup the registers ?


-- Jean-Daniel




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: round() returning NaN
      • From: Eyal Redler <email@hidden>
References: 
 >round() returning NaN (From: Eyal Redler <email@hidden>)
 >Re: round() returning NaN (From: "Frederick C. Lee" <email@hidden>)
 >Re: round() returning NaN (From: Eyal Redler <email@hidden>)
 >Re: round() returning NaN (From: email@hidden (Christian Demmer))

  • Prev by Date: Re: layout question
  • Next by Date: Re: round() returning NaN
  • Previous by thread: Re: round() returning NaN
  • Next by thread: Re: round() returning NaN
  • Index(es):
    • Date
    • Thread