INtime SDK Help
abs

Calculates the absolute value of an integer.

#include <stdlib.h>
#include <math.h>

int abs(int n);

Parameters

n
Integer value whose absolute value is calculated.

Return Values

The absolute value result.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdlib.h stdlib.h
math.h
clib.lib

See Also

fabs, labs