• 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: "make positive" function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "make positive" function


  • Subject: Re: "make positive" function
  • From: Cameron Hayne <email@hidden>
  • Date: Mon, 11 Sep 2006 16:55:03 -0400

On 11-Sep-06, at 3:21 PM, Mike Abdullah wrote:

Thanks for all the responses guys, I just didn't really know where to look. I guess for future reference, I really ought to look more at math.h and other such files.

(The following is a "teach 'em how to fish" response.)

Instead of looking at math.h headers etc, I'd recommend making better use of Google.
Taking the key words from your original posting, try the following Google search:
http://www.google.com/search?q=c+++double+closest+positive+integer
where I added in "C++" in order to make the search more specific. (It is better to search for "C++" than just "C" since Google doesn't work too well with single-letters.)
The results from that search may give you the answer directly. Otherwise, start reading the man pages for the C functions they mention - e.g. I see 'floor' is mentioned in some of the Google summaries. Look at all the "see also" functions mentioned at the bottom of the man pages. Rinse & repeat.


--
Cameron Hayne
email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: "make positive" function (From: Matt Neuburg <email@hidden>)
 >Re: "make positive" function (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: newbie question regarding setting up a master-detail data model with cocoa
  • Next by Date: [Moderator] EOT: Re: clicking through
  • Previous by thread: Re: "make positive" function
  • Next by thread: Re: "make positive" function
  • Index(es):
    • Date
    • Thread