• 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: Absolute Value |x - y|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolute Value |x - y|


  • Subject: Re: Absolute Value |x - y|
  • From: Will Mason <email@hidden>
  • Date: Sat, 4 Dec 2004 11:23:06 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

Hi,
The standard function abs() will do what you want. If you're using
floating-point numbers, you'll want fabs() instead.

Cheers,
Will

--- Malte <email@hidden> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi *,
>
> 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!
>
> - -malte
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFBsgz7OzjQTiEGtHsRAlSgAJ0duzNzsCXOEW8ipJNT8d2r0qro4ACcC4Qi
> q+3dcCuex28s6wLCW68rZLo=
> =pPUS
> -----END PGP SIGNATURE-----
>
>  _______________________________________________
> 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
>

 _______________________________________________
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: 
 >Absolute Value |x - y| (From: Malte <email@hidden>)

  • Prev by Date: Re: Starting as Startup Item?
  • Next by Date: Re: getting another Apps icon
  • Previous by thread: Absolute Value |x - y|
  • Next by thread: Re: Absolute Value |x - y|
  • Index(es):
    • Date
    • Thread