Searched refs:ndigit (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/Libc-997.90.3/stdlib/OpenBSD/
H A Decvt.c33 __cvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign, int fmode, int pad) argument
39 if (ndigit == 0) {
50 if (ndigit < 0)
51 siz = -ndigit + 1;
53 siz = ndigit + 1;
65 p = __dtoa(value, fmode + 2, ndigit, decpt, sign, &rve);
99 ecvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign) argument
101 return(__cvt(value, ndigit, decpt, sign, 0, 1));
105 fcvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign) argument
107 return(__cvt(value, ndigit, decp
[all...]
H A Dgcvt.c32 gcvt(double value, int ndigit, char *buf) argument
39 if (ndigit == 0) {
44 digits = __dtoa(value, 2, ndigit, &decpt, &sign, NULL);
50 * We assume the buffer is at least ndigit long.
52 snprintf(buf, ndigit + 1, "%s%s", sign ? "-" : "",
62 if (decpt < 0 || decpt > ndigit) {
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/strings/
H A Dapr_snprintf.c78 * the number of digits is specified by ndigit
176 static char *apr_gcvt(double number, int ndigit, char *buf, boolean_e altform) argument
183 p1 = apr_ecvt(number, ndigit, &decpt, &sign, buf1);
187 for (i = ndigit - 1; i > 0 && p1[i] == '0'; i--)
188 ndigit--;
189 if ((decpt >= 0 && decpt - ndigit > 4)
194 for (i = 1; i < ndigit; i++)
218 for (i = 1; i <= ndigit; i++) {
223 if (ndigit < decpt) {
224 while (ndigit
[all...]
/macosx-10.9.5/apr-30/apr/apr/strings/
H A Dapr_snprintf.c78 * the number of digits is specified by ndigit
176 static char *apr_gcvt(double number, int ndigit, char *buf, boolean_e altform) argument
183 p1 = apr_ecvt(number, ndigit, &decpt, &sign, buf1);
187 for (i = ndigit - 1; i > 0 && p1[i] == '0'; i--)
188 ndigit--;
189 if ((decpt >= 0 && decpt - ndigit > 4)
194 for (i = 1; i < ndigit; i++)
218 for (i = 1; i <= ndigit; i++) {
223 if (ndigit < decpt) {
224 while (ndigit
[all...]

Completed in 136 milliseconds