Home
last modified time | relevance | path

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

/src/contrib/ntp/libntp/
H A Ddofptoa.c14 short ndec, in dofptoa() argument
64 dec = (short)(ndec + 3); in dofptoa()
69 dec = ndec; in dofptoa()
123 short ndec in fptoa() argument
136 return dofptoa(plusfp, (neg?'-':0), ndec, FALSE); in fptoa()
143 short ndec in fptoms() argument
156 return dofptoa(plusfp, (neg?'-':0), ndec, TRUE); in fptoms()
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() argument
55 dec = ndec; in dolfptoa()
141 short ndec in mfptoa() argument
151 return dolfptoa(fpi, fpf, (isneg?'-':'+'), ndec, FALSE); in mfptoa()
159 short ndec in mfptoms() argument
169 return dolfptoa(fpi, fpf, (isneg?'-':'+'), ndec, TRUE); in mfptoms()
/src/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