Home
last modified time | relevance | path

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

/NextBSD/contrib/ntp/libntp/
HDdofptoa.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()
HDatolfp.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()
HDdolfptoa.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()
/NextBSD/contrib/ntp/include/
HDntp_fp.h370 #define lfptoa(fpv, ndec) mfptoa((fpv)->l_ui, (fpv)->l_uf, (ndec)) argument
371 #define lfptoms(fpv, ndec) mfptoms((fpv)->l_ui, (fpv)->l_uf, (ndec)) argument
378 #define ufptoa(fpv, ndec) dofptoa((fpv), 0, (ndec), 0) argument
379 #define ufptoms(fpv, ndec) dofptoa((fpv), 0, (ndec), 1) argument
380 #define ulfptoa(fpv, ndec) dolfptoa((fpv)->l_ui, (fpv)->l_uf, 0, (ndec), 0) argument
381 #define ulfptoms(fpv, ndec) dolfptoa((fpv)->l_ui, (fpv)->l_uf, 0, (ndec), 1) argument
382 #define umfptoa(fpi, fpf, ndec) dolfptoa((fpi), (fpf), 0, (ndec), 0) argument