Implementation status: to be implemented

Synopsis

#include <stdlib.h>

int abs(int i);

Description

The abs() function computes the absolute value of its integer argument, i. If the result cannot be represented, the behavior is undefined.

Arguments:
i - an integer value

Return value

The abs() function returns the absolute value of its integer argument.

Errors

No errors are defined.