Home
last modified time | relevance | path

Searched refs:HALF_BITS (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libc/quad/
H A Dquad.h79 #define HALF_BITS (sizeof(long) * CHAR_BIT / 2) macro
90 #define HHALF(x) ((x) >> HALF_BITS)
91 #define LHALF(x) ((x) & ((1L << HALF_BITS) - 1))
92 #define LHUP(x) ((x) << HALF_BITS)
H A Dqdivrem.c43 #define B (1L << HALF_BITS) /* digit base */
46 #define COMBINE(a, b) (((u_long)(a) << HALF_BITS) | (b))
66 p[i] = LHALF(p[i] << sh) | (p[i + 1] >> (HALF_BITS - sh)); in shl()
261 LHALF(u[i - 1] << (HALF_BITS - d)); in __qdivrem()
/freebsd/sys/libkern/
H A Dquad.h83 #define HALF_BITS (sizeof(long) * CHAR_BIT / 2) macro
94 #define HHALF(x) ((x) >> HALF_BITS)
95 #define LHALF(x) ((x) & ((1 << HALF_BITS) - 1))
96 #define LHUP(x) ((x) << HALF_BITS)
H A Dqdivrem.c44 #define B (1 << HALF_BITS) /* digit base */
47 #define COMBINE(a, b) (((u_long)(a) << HALF_BITS) | (b))
67 p[i] = LHALF(p[i] << sh) | (p[i + 1] >> (HALF_BITS - sh)); in __shl()
262 LHALF(u[i - 1] << (HALF_BITS - d)); in __qdivrem()