• 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: Returning a nil float?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a nil float?


  • Subject: Re: Returning a nil float?
  • From: vincent habchi <email@hidden>
  • Date: Sat, 30 Jan 2010 18:12:16 +0100

Le 30 janv. 2010 à 16:11, Chunk 1978 a écrit :

> thanks.  NAN seems to be the simplest solution.

At the same time, if your float is supposed to lie in the range [x, y], returning any float outside this range (and not necessarily a NAN) can mean whatever you want.

Vincent_______________________________________________

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

References: 
 >Re: Returning a nil float? (From: Greg Guerin <email@hidden>)
 >Re: Returning a nil float? (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: bind:toObject:withKeyPath:options: Unidirectional or Bidirectional?
  • Next by Date: Re: bind:toObject:withKeyPath:options: Unidirectional or Bidirectional?
  • Previous by thread: Re: Returning a nil float?
  • Next by thread: Loading of Mach-O executable files.
  • Index(es):
    • Date
    • Thread