Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/libparse/
H A Dmfp_mul.c41 #define LOW_MASK (u_int32)((1<<(FRACTION_PREC/2))-1)
42 #define HIGH_MASK (u_int32)(LOW_MASK << (FRACTION_PREC/2))
88 a[1] = (a_f & HIGH_MASK) >> (FRACTION_PREC/2); in mfp_mul()
90 a[3] = (a_i & HIGH_MASK) >> (FRACTION_PREC/2); in mfp_mul()
93 b[1] = (b_f & HIGH_MASK) >> (FRACTION_PREC/2); in mfp_mul()
95 b[3] = (b_i & HIGH_MASK) >> (FRACTION_PREC/2); in mfp_mul()
114 result_high = result_low >> (FRACTION_PREC/2); in mfp_mul()
115 result_low <<= FRACTION_PREC/2; in mfp_mul()
116 carry = (unsigned)1<<(FRACTION_PREC/2); in mfp_mul()
125 (u_int32)((unsigned)1<<(FRACTION_PREC - 1))) { in mfp_mul()
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_fp.h45 #define FRACTION_PREC (32) macro
/freebsd/contrib/ntp/ntpd/
H A Drefclock_msfees.c153 (((((bits)*2 +1) << (FRACTION_PREC-SAFETY_SHIFT)) / (2*baud)) << SAFETY_SHIFT)
405 acceptable_slop.l_uf = 1 << (FRACTION_PREC -2); in msfees_init()