fn finite(x: f64) callconv(.c) c_int
fn finite(x: f64) callconv(.c) c_int { return @intFromBool(math.isFinite(x)); }