llabs


llabs

Gives the absolute value of a long long integer

 #include <stdlib.h> long long llabs ( long long n  ); 

The parameter and the return value of llabs( ) are long long integers. Otherwise, llabs( ) works the same as the int function abs( ).

Example

See the example for abs( ) in this chapter.

See Also

abs( ), labs( ), imaxabs( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net