PostGIS  2.3.7dev-r@@SVN_REVISION@@
#define SIGNUM (   n)    (((n) > 0) - ((n) < 0))

Macro that returns: -1 if n < 0, 1 if n > 0, 0 if n == 0.

Definition at line 130 of file liblwgeom_internal.h.

Referenced by crosses_dateline(), edge_contains_coplanar_point(), lw_segment_side(), ptarray_area_spheroid(), spheroid_striparea(), test_signum_macro(), and z_to_latitude().