• 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: [OT] calling isnan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] calling isnan


  • Subject: Re: [OT] calling isnan
  • From: Jerry <email@hidden>
  • Date: Sat, 19 Feb 2005 15:13:22 +0000


On 19 Feb 2005, at 01:27, Bill Northcott wrote:

The solution for any math library for C++ (such as libRmath) is to program your own isnan() like function that access the underlying system functions.

At the risk of moving off-topic: I've seen people checking for NaN by doing


if (!(x == x))
	.....

It sounds plausible, but is it always valid?

Jerry

_______________________________________________
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


References: 
 >Re: [OT] calling isnan (From: Bill Northcott <email@hidden>)

  • Prev by Date: Re: Differences between Cocoa and Cocoa-Java Projects/Targets
  • Next by Date: Xcode's STL problem, works fine in MW
  • Previous by thread: Re: [OT] calling isnan
  • Next by thread: Re: [OT] calling isnan
  • Index(es):
    • Date
    • Thread