Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/ntp/libntp/
Ddofptoa.c16 short ndec, in dofptoa() argument
66 dec = (short)(ndec + 3); in dofptoa()
71 dec = ndec; in dofptoa()
125 short ndec in fptoa() argument
138 return dofptoa(plusfp, neg, ndec, FALSE); in fptoa()
145 short ndec in fptoms() argument
158 return dofptoa(plusfp, neg, ndec, TRUE); in fptoms()
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()
Ddolfptoa.c17 short ndec, in dolfptoa() argument
57 dec = ndec; in dolfptoa()
143 short ndec in mfptoa() argument
153 return dolfptoa(fpi, fpf, isneg, ndec, FALSE); in mfptoa()
161 short ndec in mfptoms() argument
171 return dolfptoa(fpi, fpf, isneg, ndec, TRUE); in mfptoms()
/freebsd-10-stable/contrib/ntp/include/
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