jtmm2/src/util.c

8 lines
66 B
C

#include "util.h"
int
sign(int x)
{
return (x > 0) - (x < 0);
}