Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfconvert.c48 if (ndigits <= -DECIMAL_STRING_LENGTH) in fconvert()
49 ndigits = -DECIMAL_STRING_LENGTH + 1; in fconvert()
50 else if (ndigits >= DECIMAL_STRING_LENGTH) in fconvert()
51 ndigits = DECIMAL_STRING_LENGTH - 1; in fconvert()
102 if (ndigits <= -DECIMAL_STRING_LENGTH) in sfconvert()
103 ndigits = -DECIMAL_STRING_LENGTH + 1; in sfconvert()
104 else if (ndigits >= DECIMAL_STRING_LENGTH) in sfconvert()
105 ndigits = DECIMAL_STRING_LENGTH - 1; in sfconvert()
156 if (ndigits <= -DECIMAL_STRING_LENGTH) in qfconvert()
157 ndigits = -DECIMAL_STRING_LENGTH + 1; in qfconvert()
[all …]
H A Dchar_to_decimal.h305 ids < DECIMAL_STRING_LENGTH - 1) {
316 ids < DECIMAL_STRING_LENGTH - 1) {
371 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) {
378 if (ids < DECIMAL_STRING_LENGTH) {
382 ids = DECIMAL_STRING_LENGTH;
394 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
500 if (ids + nzbp + nzap + 2 < DECIMAL_STRING_LENGTH) {
508 if (ids < DECIMAL_STRING_LENGTH) {
512 ids = DECIMAL_STRING_LENGTH;
524 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids;
[all …]
H A Deconvert.c71 else if (ndigits >= DECIMAL_STRING_LENGTH) in econvert()
72 ndigits = DECIMAL_STRING_LENGTH - 1; in econvert()
116 else if (ndigits >= DECIMAL_STRING_LENGTH) in seconvert()
117 ndigits = DECIMAL_STRING_LENGTH - 1; in seconvert()
161 else if (ndigits >= DECIMAL_STRING_LENGTH) in qeconvert()
162 ndigits = DECIMAL_STRING_LENGTH - 1; in qeconvert()
H A Dgconvert.c144 else if (ndigits >= DECIMAL_STRING_LENGTH) in gconvert()
145 ndigits = DECIMAL_STRING_LENGTH - 1; in gconvert()
171 else if (ndigits >= DECIMAL_STRING_LENGTH) in sgconvert()
172 ndigits = DECIMAL_STRING_LENGTH - 1; in sgconvert()
198 else if (ndigits >= DECIMAL_STRING_LENGTH) in qgconvert()
199 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()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_stdlib.c87 static char buf[DECIMAL_STRING_LENGTH]; in doubletos()
88 char digits[DECIMAL_STRING_LENGTH]; in doubletos()
102 static char buf[DECIMAL_STRING_LENGTH]; in longdoubletos()
103 char digits[DECIMAL_STRING_LENGTH]; in longdoubletos()
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Decvt.c50 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in ecvt()
58 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in fcvt()
87 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qecvt()
95 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qfcvt()
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Decvt.c50 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in ecvt()
58 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in fcvt()
87 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
95 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); in qfcvt()
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Decvt.c54 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
66 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
94 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
106 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Decvt.c54 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
66 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
94 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
106 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL);
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwstod.c378 if (ids + nzbp + 2 < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
385 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
389 ids = DECIMAL_STRING_LENGTH; in wstring_to_decimal()
401 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids; in wstring_to_decimal()
470 if (ids + nzbp + nzap + 2 < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
478 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
482 ids = DECIMAL_STRING_LENGTH; in wstring_to_decimal()
494 nfastlimit = DECIMAL_STRING_LENGTH - 3 - ids; in wstring_to_decimal()
592 if (ids < DECIMAL_STRING_LENGTH) { in wstring_to_decimal()
/illumos-gate/usr/src/lib/libc/port/print/
H A Dprint.h67 #define MAXECVT (DECIMAL_STRING_LENGTH-1)
70 #define MAXFCVT (DECIMAL_STRING_LENGTH-1)
74 #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()
/illumos-gate/usr/src/head/
H A Dfloatingpoint.h86 #define DECIMAL_STRING_LENGTH 512 /* Size of buffer in decimal_record. */ macro
88 typedef char decimal_string[DECIMAL_STRING_LENGTH];
/illumos-gate/usr/src/lib/libc/inc/
H A Dbase_conversion.h212 #define _BIG_FLOAT_SIZE (DECIMAL_STRING_LENGTH/2)