Home
last modified time | relevance | path

Searched refs:TWOS_COMPLEMENT (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/tzcode/
H A Dprivate.h843 #define TWOS_COMPLEMENT(t) ((t) ~ (t) 0 < 0) macro
857 ((t) (TYPE_SIGNED(t) ? - TWOS_COMPLEMENT(t) - MAXVAL(t, b) : 0))
H A Dlocaltime.c275 result -= !TWOS_COMPLEMENT(int_fast32_t) && result != 0; in detzcode()
289 int_fast64_t minval = -TWOS_COMPLEMENT(int_fast64_t) - maxval; in detzcode64()
298 result -= !TWOS_COMPLEMENT(int_fast64_t) && result != 0; in detzcode64()