Everything

llabs


Calculates the absolute value of a long long type integer.

[Format]

#include <stdlib.h>

long long llabs (long long j);

[Parameters]

j Integer to calculate the absolute value

[Return values]

Absolute value of j

[Remarks]

If the resultant absolute value cannot be expressed as a long long type integer, correct operation is not guaranteed.