/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | gcvt.c | 42 gcvt(double number, int ndigits, char *buf) argument 44 return (gconvert(number, ndigits, 0, buf));
|
/osnet-11/usr/src/lib/libc/port/fp/ |
H A D | econvert.c | 37 * choosing "Inf" or "Infinity" according to ndigits, the desired 41 __infnanstring(enum fp_class_type cl, int ndigits, char *buf) argument 44 if (ndigits < 8) 56 econvert(double arg, int ndigits, int *decpt, int *sign, char *buf) argument 71 if (ndigits <= 0) 72 ndigits = 1; 73 else if (ndigits >= DECIMAL_STRING_LENGTH) 74 ndigits = DECIMAL_STRING_LENGTH - 1; 75 dm.ndigits = ndigits; /* Numbe 101 seconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) argument 146 qeconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) argument [all...] |
H A D | fconvert.c | 35 fconvert(double arg, int ndigits, int *decpt, int *sign, char *buf) argument 50 if (ndigits <= -DECIMAL_STRING_LENGTH) 51 ndigits = -DECIMAL_STRING_LENGTH + 1; 52 else if (ndigits >= DECIMAL_STRING_LENGTH) 53 ndigits = DECIMAL_STRING_LENGTH - 1; 54 dm.ndigits = ndigits; /* Number of digits after point. */ 60 *decpt = dr.exponent + dr.ndigits; 61 for (i = 0; i < dr.ndigits; i++) 67 if (ndigits > 89 sfconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) argument 143 qfconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) argument [all...] |
H A D | gconvert.c | 36 __k_gconvert(int ndigits, decimal_record *pd, int trailing, char *buf) argument 50 for (i = 0; i < ndigits - 1; i++) 57 if ((pd->exponent > 0) || (pd->exponent < -(ndigits + 3))) { 93 if (pd->exponent >= (1 - ndigits)) { /* x.xxx */ 94 for (i = 0; i < (ndigits + pd->exponent); ) 99 for (; i < ndigits; ) 105 for (i = 0; i < -(pd->exponent + ndigits); i++) 122 __infnanstring(pd->fpclass, ndigits, p); 128 gconvert(double number, int ndigits, int trailing, char *buf) argument 142 if (ndigits < 155 sgconvert(single *number, int ndigits, int trailing, char *buf) argument 182 qgconvert(quadruple *number, int ndigits, int trailing, char *buf) argument [all...] |
H A D | aconvert.c | 36 * If arg is finite and nonzero, buf is filled with ndigits hexadecimal 38 * (so ndigits must be at least 1 and buf must be large enough to hold 39 * ndigits + 1 characters). If ndigits is large enough, the representa- 45 * If arg is zero, buf is filled with ndigits zeros followed by a null, 56 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf) argument 74 fp_infinity : fp_quiet, ndigits, buf); 82 for (i = 0; i < ndigits; i++) 84 buf[ndigits] = '\0'; 104 if (ndigits < 1 137 __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf) argument 294 __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf) argument 367 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf) argument [all...] |
/osnet-11/usr/src/lib/libc/sparc/gen/ |
H A D | ecvt.c | 50 ecvt(double number, int ndigits, int *decpt, int *sign) argument 54 return (econvert(number, ndigits, decpt, sign, buf)); 58 fcvt(double number, int ndigits, int *decpt, int *sign) argument 65 ptr = fconvert(number, ndigits, decpt, sign, buf); 85 int ndigits, 91 return (qeconvert(&number, ndigits, decpt, sign, buf)); 95 qfcvt(long double number, int ndigits, int *decpt, int *sign) argument 99 return (qfconvert(&number, ndigits, decpt, sign, buf)); 103 qgcvt(long double number, int ndigits, char *buffer) argument 105 return (qgconvert(&number, ndigits, 83 qecvt( long double number, int ndigits, int *decpt, int *sign) argument [all...] |
/osnet-11/usr/src/lib/libc/sparcv9/gen/ |
H A D | ecvt.c | 50 ecvt(double number, int ndigits, int *decpt, int *sign) argument 54 return (econvert(number, ndigits, decpt, sign, buf)); 58 fcvt(double number, int ndigits, int *decpt, int *sign) argument 65 ptr = fconvert(number, ndigits, decpt, sign, buf); 83 qecvt(number, ndigits, decpt, sign) 85 int ndigits; 91 return (qeconvert(&number, ndigits, decpt, sign, buf)); 95 qfcvt(long double number, int ndigits, int *decpt, int *sign) argument 99 return (qfconvert(&number, ndigits, decpt, sign, buf)); 103 qgcvt(long double number, int ndigits, cha argument [all...] |
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | env.c | 396 int cnv = 10, ndigits = 0; local 436 while ((cbuf[ndigits] != NULL) && 437 (ndigits < cbsize)) 438 ndigits++; 441 if (ndigits > cw) { 489 while ((cbuf[ndigits] != NULL) && 490 (ndigits < cbsize)) { 491 ndigits++; 494 if (ndigits > cw) {
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 2413 int nrow, ncol=1, ndigits=1; local 2418 ndigits++; 2430 i += (ndigits+LBLSIZ); 2443 fldsize = (wsize/ncol)-(ndigits+LBLSIZ); 2452 sfprintf(outfile,"%*d) %s",ndigits,j+1,*arg);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | vasnprintf.c | 3627 size_t ndigits; local 3636 ndigits = strlen (digits); 3638 if (ndigits > precision) 3641 --ndigits; 3642 *p++ = digits[ndigits]; 3644 while (ndigits > precision); 3647 /* Here ndigits <= precision. */ 3651 for (; precision > ndigits; precision--) 3653 while (ndigits > 0) 3655 --ndigits; 3682 size_t ndigits; local 3793 size_t ndigits = precision; local 3817 size_t ndigits; local 4092 size_t ndigits; local 4144 size_t ndigits; local 4267 size_t ndigits = precision; local 4291 size_t ndigits; local [all...] |