Home
last modified time | relevance | path

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

/freebsd/contrib/libsamplerate/
H A Dsrc_sinc.c28 #define SHIFT_BITS 12 macro
29 #define FP_ONE ((double) (((increment_t) 1) << SHIFT_BITS))
44 typedef int _CHECK_SHIFT_BITS[2 * (SHIFT_BITS < sizeof (increment_t) * 8 - 1) - 1]; /* sanity check…
140 { return (((increment_t) (x)) << SHIFT_BITS) ; in int_to_fp()
145 { return (((x) >> SHIFT_BITS)) ; in fp_to_int()
150 { return ((x) & ((((increment_t) 1) << SHIFT_BITS) - 1)) ; in fp_fraction_part()