Re: simple float/double question
Re: simple float/double question
- Subject: Re: simple float/double question
- From: "Alastair J.Houghton" <email@hidden>
- Date: Fri, 30 May 2003 23:13:04 +0100
On Friday, May 30, 2003, at 10:48 pm, Ben Dougall wrote:
On Friday, May 30, 2003, at 07:54 am, Lloyd Dupont wrote:
how to test if a float/double is a number or not ?
I mean acos(2) for example return NaN, how to know programatically
it's NaN ?
i don't understand. how can a float or a double not be a number?
Usually this happens when you perform a computation whose result is
undefined; a simple example would be something like (0.0 / 0.0).
Regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.