Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/libntp/
H A Ddofptoa.c14 short ndec, in dofptoa()
64 dec = (short)(ndec + 3); in dofptoa()
69 dec = ndec; in dofptoa()
123 short ndec in fptoa()
136 return dofptoa(plusfp, (neg?'-':0), ndec, FALSE); in fptoa()
143 short ndec in fptoms()
156 return dofptoa(plusfp, (neg?'-':0), ndec, TRUE); in fptoms()
16 dofptoa(u_fp fpv,char sign,short ndec,int msec) dofptoa() argument
125 fptoa(s_fp fpv,short ndec) fptoa() argument
145 fptoms(s_fp fpv,short ndec) fptoms() argument
H A Datolfp.c39 int ndec; in atolfp() local
47 ndec = 0; in atolfp()
79 while (ndec < 9 && *cp != '\0' in atolfp()
81 ndec++; in atolfp()
94 if (ndec > 0) { in atolfp()
99 ten_fact = ten_to_the_n[ndec]; in atolfp()
H A Ddolfptoa.c15 short ndec, in dolfptoa()
55 dec = ndec; in dolfptoa()
141 short ndec in mfptoa()
151 return dolfptoa(fpi, fpf, (isneg?'-':'+'), ndec, FALSE); in mfptoa()
159 short ndec in mfptoms()
169 return dolfptoa(fpi, fpf, (isneg?'-':'+'), ndec, TRUE); in mfptoms()
17 dolfptoa(u_int32 fpi,u_int32 fpv,char sign,short ndec,int msec) dolfptoa() argument
143 mfptoa(u_int32 fpi,u_int32 fpf,short ndec) mfptoa() argument
161 mfptoms(u_int32 fpi,u_int32 fpf,short ndec) mfptoms() argument
/freebsd/contrib/ntp/include/
H A Dntp_fp.h371 #define lfptoa(fpv, ndec) mfptoa((fpv)->l_ui, (fpv)->l_uf, (ndec)) argument
372 #define lfptoms(fpv, ndec) mfptoms((fpv)->l_ui, (fpv)->l_uf, (ndec)) argument
379 #define ufptoa(fpv, ndec) dofptoa((fpv), 0, (ndec), 0) argument
380 #define ufptoms(fpv, ndec) dofptoa((fpv), 0, (ndec), 1) argument
381 #define ulfptoa(fpv, ndec) dolfptoa((fpv)->l_ui, (fpv)->l_uf, 0, (ndec), 0) argument
382 #define ulfptoms(fpv, ndec) dolfptoa((fpv)->l_ui, (fpv)->l_uf, 0, (ndec), 1) argument
383 #define umfptoa(fpi, fpf, ndec) dolfptoa((fpi), (fpf), 0, (ndec), 0) argument