Calculates the absolute value of an integer.
#include <stdlib.h> #include <math.h> int abs(int n);
nThe absolute value result.
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/stdlib.h | stdlib.h math.h |
clib.lib |