Searched defs:SGN (Results 1 - 12 of 12) sorted by relevance

/netbsd-current/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-cmp_si.c25 #define SGN(x) ((x) < 0 ? -1 : (x) == 0 ? 0 : 1) macro
H A Dt-cmp_d.c32 #define SGN(n) ((n) > 0 ? 1 : (n) < 0 ? -1 : 0) macro
/netbsd-current/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-cmp_si.c25 #define SGN(x) ((x) < 0 ? -1 : (x) == 0 ? 0 : 1) macro
H A Dt-cmp_d.c28 #define SGN(n) ((n) > 0 ? 1 : (n) < 0 ? -1 : 0) macro
/netbsd-current/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-cmp_si.c28 #define SGN(x) ((x)<0 ? -1 : (x) != 0) macro
H A Dt-cmp_z.c26 #define SGN(x) ((x) < 0 ? -1 : (x) > 0 ? 1 : 0) macro
H A Dt-cmp_ui.c26 #define SGN(x) ((x) < 0 ? -1 : (x) > 0 ? 1 : 0) macro
H A Dt-cmp.c26 #define SGN(x) ((x) < 0 ? -1 : (x) > 0 ? 1 : 0) macro
/netbsd-current/games/phantasia/
H A Dmacros.h8 #define SGN(X) ((X) < 0 ? -1 : 1) macro
/netbsd-current/games/atc/
H A Ddef.h56 #define SGN(x) ((x < 0) ? -1 : ((x > 0) ? 1 : 0)) macro
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-cmp_d.c28 #define SGN(n) ((n) > 0 ? 1 : (n) < 0 ? -1 : 0) macro
/netbsd-current/lib/libc/isc/
H A Dev_timers.c111 #define SGN(x) ((x) < 0 ? (-1) : (x) > 0 ? (1) : (0)); macro

Completed in 139 milliseconds