Re: "make positive" function
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