Home
last modified time | relevance | path

Searched refs:DECIMAL_STRING_LENGTH (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/lib/libc/port/fp/
H A Dfconvert.c50 if (ndigits <= -DECIMAL_STRING_LENGTH) in fconvert()
51 ndigits = -DECIMAL_STRING_LENGTH + 1; in fconvert()
52 else if (ndigits >= DECIMAL_STRING_LENGTH) in fconvert()
53 ndigits = DECIMAL_STRING_LENGTH - 1; in fconvert()
104 if (ndigits <= -DECIMAL_STRING_LENGTH) in sfconvert()
105 ndigits = -DECIMAL_STRING_LENGTH + 1; in sfconvert()
106 else if (ndigits >= DECIMAL_STRING_LENGTH) in sfconvert()
107 ndigits = DECIMAL_STRING_LENGTH - 1; in sfconvert()
158 if (ndigits <= -DECIMAL_STRING_LENGTH) in qfconvert()
159 ndigits = -DECIMAL_STRING_LENGTH + 1; in qfconvert()
[all …]
H A Dchar_to_decimal.h307 ids < DECIMAL_STRING_LENGTH - 1) {
318 ids < DECIMAL_STRING_LENGTH - 1) {
373 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) {
380 if (ids < DECIMAL_STRING_LENGTH) {
384 ids = DECIMAL_STRING_LENGTH;
396 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
502 if (ids + nzbp + nzap + 2 < DECIMAL_STRING_LENGTH) {
510 if (ids < DECIMAL_STRING_LENGTH) {
514 ids = DECIMAL_STRING_LENGTH;
526 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
[all …]
H A Deconvert.c73 else if (ndigits >= DECIMAL_STRING_LENGTH) in econvert()
74 ndigits = DECIMAL_STRING_LENGTH - 1; in econvert()
118 else if (ndigits >= DECIMAL_STRING_LENGTH) in seconvert()
119 ndigits = DECIMAL_STRING_LENGTH - 1; in seconvert()
163 else if (ndigits >= DECIMAL_STRING_LENGTH) in qeconvert()
164 ndigits = DECIMAL_STRING_LENGTH - 1; in qeconvert()
H A Dgconvert.c146 else if (ndigits >= DECIMAL_STRING_LENGTH) in gconvert()
147 ndigits = DECIMAL_STRING_LENGTH - 1; in gconvert()
173 else if (ndigits >= DECIMAL_STRING_LENGTH) in sgconvert()
174 ndigits = DECIMAL_STRING_LENGTH - 1; in sgconvert()
200 else if (ndigits >= DECIMAL_STRING_LENGTH) in qgconvert()
201 ndigits = DECIMAL_STRING_LENGTH - 1; in qgconvert()
H A Ddouble_decim.c185 e = pf->bexponent = -DECIMAL_STRING_LENGTH - 2; in __big_decimal_to_string()
214 if (efirst - elast >= DECIMAL_STRING_LENGTH - 1) { in __big_decimal_to_string()
216 elast = e - DECIMAL_STRING_LENGTH + 2; in __big_decimal_to_string()
319 } else if (is == DECIMAL_STRING_LENGTH - 1) { in __big_decimal_to_string()
349 if (pm->ndigits >= DECIMAL_STRING_LENGTH || pm->ndigits <= in __bigfloat_to_decimal()
350 ((pm->df == floating_form)? 0 : -DECIMAL_STRING_LENGTH)) { in __bigfloat_to_decimal()
378 sigdigits = DECIMAL_STRING_LENGTH + 1; in __bigfloat_to_decimal()
/titanic_50/usr/src/cmd/mdb/common/mdb/
H A Dmdb_stdlib.c89 static char buf[DECIMAL_STRING_LENGTH]; in doubletos()
90 char digits[DECIMAL_STRING_LENGTH]; in doubletos()
104 static char buf[DECIMAL_STRING_LENGTH]; in longdoubletos()
105 char digits[DECIMAL_STRING_LENGTH]; in longdoubletos()
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Decvt.c52 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in ecvt()
60 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in fcvt()
89 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qecvt()
97 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qfcvt()
/titanic_50/usr/src/lib/libc/sparcv9/gen/
H A Decvt.c52 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in ecvt()
60 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in fcvt()
89 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
97 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qfcvt()
/titanic_50/usr/src/lib/libc/i386/gen/
H A Decvt.c56 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
68 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
96 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
108 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
/titanic_50/usr/src/lib/libc/amd64/gen/
H A Decvt.c56 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
68 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
96 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
108 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
/titanic_50/usr/src/lib/libc/port/print/
H A Dprint.h69 #define MAXECVT (DECIMAL_STRING_LENGTH-1)
72 #define MAXFCVT (DECIMAL_STRING_LENGTH-1)
76 #define MAXFSIG (DECIMAL_STRING_LENGTH-1)
H A Ddoprnt.c109 char cb[DECIMAL_STRING_LENGTH]; \
496 wchar_t cvtbuf[512 + DECIMAL_STRING_LENGTH]; in _wndoprnt()
510 char cvtbuf[512 + DECIMAL_STRING_LENGTH]; in _wndoprnt()
/titanic_50/usr/src/lib/libc/port/i18n/
H A Dwstod.c380 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
387 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
391 ids = DECIMAL_STRING_LENGTH; in wstring_to_decimal()
403 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids; in wstring_to_decimal()
472 if (ids + nzbp + nzap + 2 < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
480 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
484 ids = DECIMAL_STRING_LENGTH; in wstring_to_decimal()
496 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids; in wstring_to_decimal()
594 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dchar_to_decimal.h178 while ((CURRENT != 0) && (CURRENT != ')') && (ids < (DECIMAL_STRING_LENGTH - 1))) {
216 if ((ids + nzbp + 2) >= DECIMAL_STRING_LENGTH) { /* Not enough room to
222 ids = DECIMAL_STRING_LENGTH - 1; /* To allow end of
234 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
339 if ((ids + nzbp + nzap + 2) >= DECIMAL_STRING_LENGTH) { /* Not enough room to
346 ids = DECIMAL_STRING_LENGTH - 1; /* To allow end of
359 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
H A Ddouble_decim.c344 char is[_INTEGER_SIZE], fs[DECIMAL_STRING_LENGTH]; in _unpacked_to_decimal()
352 if ((pm->ndigits >= DECIMAL_STRING_LENGTH) || in _unpacked_to_decimal()
417 if (nsig > DECIMAL_STRING_LENGTH) in _unpacked_to_decimal()
418 nsig = DECIMAL_STRING_LENGTH; in _unpacked_to_decimal()
424 if (nfrac > DECIMAL_STRING_LENGTH) in _unpacked_to_decimal()
425 nfrac = DECIMAL_STRING_LENGTH; in _unpacked_to_decimal()
530 if ((intdigs + pm->ndigits) >= DECIMAL_STRING_LENGTH) in _unpacked_to_decimal()
576 if (intdigs >= DECIMAL_STRING_LENGTH) in _unpacked_to_decimal()
578 if (roundpos >= DECIMAL_STRING_LENGTH) in _unpacked_to_decimal()
H A Ddecimal_bin.c444 } else if (pd->exponent <= (-SINGLE_MAXE - DECIMAL_STRING_LENGTH)) { /* Guaranteed deep
513 } else if (pd->exponent <= (-DOUBLE_MAXE - DECIMAL_STRING_LENGTH)) { /* Guaranteed deep
582 } else if (pd->exponent <= (-EXTENDED_MAXE - DECIMAL_STRING_LENGTH)) { /* Guaranteed deep
664 } else if (pd->exponent <= (-QUAD_MAXE - DECIMAL_STRING_LENGTH)) { /* Guaranteed deep
H A Dbase_conversion.h217 #define _BIG_FLOAT_SIZE (DECIMAL_STRING_LENGTH/2)
/titanic_50/usr/src/lib/libbc/inc/include/
H A Dfloatingpoint.h90 #define DECIMAL_STRING_LENGTH 512 macro
93 typedef char decimal_string[DECIMAL_STRING_LENGTH];
/titanic_50/usr/src/head/
H A Dfloatingpoint.h97 #define DECIMAL_STRING_LENGTH 512 /* Size of buffer in decimal_record. */ macro
99 typedef char decimal_string[DECIMAL_STRING_LENGTH];
/titanic_50/usr/src/lib/libc/inc/
H A Dbase_conversion.h214 #define _BIG_FLOAT_SIZE (DECIMAL_STRING_LENGTH/2)