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