Re: Getting a handle on inf
Re: Getting a handle on inf
- Subject: Re: Getting a handle on inf
- From: Andrew Farmer <email@hidden>
- Date: Mon, 26 Oct 2009 18:41:28 -0700
On 26 Oct 2009, at 12:11, Ian Piper wrote:
...and I still get a failed build with this message:
Expecting inf; we got inf
Which seems odd.
And internally, this is because the IEEE float machinery guarantees
that all infinite and NaN values compare as not-equal to each other,
so that 1/0 != 2/0, 1e100 != 1e100 + 1, and so on. Sadly, this also
means that some floats will compare as not equal to themselves -- an
unfortunate, but necessary result.
_______________________________________________
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