10 lines
96 B
C
10 lines
96 B
C
#pragma once
|
|
|
|
static inline int abs(int n)
|
|
{
|
|
if (n < 0)
|
|
return -n;
|
|
else
|
|
return n;
|
|
}
|