Previous Page
Next Page

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( )


Previous Page
Next Page