Searched refs:FRAC (Results 1 – 10 of 10) sorted by relevance
258 #define FRAC 4294967296.0 /* 2^32 as a double */ macro321 (r_uf) = (u_int32)(-(d_tmp + (double)(r_ui)) * FRAC); \325 (r_uf) = (u_int32)((d_tmp - (double)(r_ui)) * FRAC); \334 (d) = -((double)l_thi + (double)l_tlo / FRAC); \336 (d) = (double)l_thi + (double)l_tlo / FRAC; \
133 dtemp *= FRAC; in get_systime()
33 # define NSECFRAC (FRAC / NANOSECONDS)
774 which needs errno.h and FRAC */779 # define FRAC 4294967296
3440 ticks = (unsigned long)(nts.l_uf / (unsigned long)(sys_tick * FRAC));3441 nts.l_uf = (unsigned long)(ticks * (unsigned long)(sys_tick * FRAC));3444 (long)pbt.sec, (u_long)((nts.l_uf / FRAC) * 1e9)));
1598 pp->lastrec.l_uf = (u_int32)(dtemp * FRAC); in refclock_pps()
751 dtemp = ts.tv_nsec * FRAC / 1e9; in ripencc_get_pps_ts()
2261 parse->parseio.parse_dtime.parse_ptime.fp.l_uf = (uint32_t)(dtemp * FRAC); in local_input()
15608 which needs errno.h and FRAC */15613 # define FRAC 4294967296
25007 which needs errno.h and FRAC */25012 # define FRAC 4294967296