#include "util.h" int sign(int x) { return (x > 0) - (x < 0); } float absf(float x) { return x * (-1 + 2 * (x > 0)); }