Definition at line 1226 of file cu_libgeom.c.
1228 CU_ASSERT_EQUAL(
SIGNUM(-5.0),-1);
1229 CU_ASSERT_EQUAL(
SIGNUM( 5.0), 1);
1230 CU_ASSERT_EQUAL(
SIGNUM( 0.0), 0);
1231 CU_ASSERT_EQUAL(
SIGNUM(10) * 5, 5);
1232 CU_ASSERT_EQUAL(
SIGNUM(-10) * 5, -5);
#define SIGNUM(n)
Macro that returns: -1 if n < 0, 1 if n > 0, 0 if n == 0.
References SIGNUM.
Referenced by libgeom_suite_setup().