function abs(int) demo¶
constexpr int abs(int x) { … }
Computes the absolute value of an integer.
| x | Input integer value. |
| The absolute value of x. |
Since
1.0.0
See also:
abs(double) Defined at library.hpp:247