8 lines
66 B
C
8 lines
66 B
C
|
#include "util.h"
|
||
|
|
||
|
int
|
||
|
sign(int x)
|
||
|
{
|
||
|
return (x > 0) - (x < 0);
|
||
|
}
|