pub fn tri_sign(x: i64) -> i32
Helper for returning -1, 0, or 1 based on sign Direct port from clipper.core.h line 697