Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolute Value |x - y|



> At 20:16 Uhr +0100 04.12.2004, Malte wrote:
> >i've been looking around trying to find a method that calculates the
> 
> >|absolute value| of a number.
> >Without success.
> >Does anyone know if such a function exists?
> >Thanks much!
> 
>   I think you'll want to read about the Standard C library. Kernighan
> 
> and Ritchie's "The C Programming Language" contains info on all this 
> stuff. It's the essential work on C, so if you don't have it, you 
> really want to get it.

That's very good advice, Uli. Another valuable tool when something like
this comes up is "man -k". For example, in this case "man -k absolute"
would have led Malte directly to all the resources he needs.

Will
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Absolute Value |x - y| (From: "M. Uli Kusterer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.