/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | fconvert.c | 48 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 D | char_to_decimal.h | 305 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 D | econvert.c | 71 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 D | gconvert.c | 144 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 D | double_decim.c | 185 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 D | mdb_stdlib.c | 87 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 D | ecvt.c | 50 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 D | ecvt.c | 50 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 D | ecvt.c | 54 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 D | ecvt.c | 54 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 D | wstod.c | 378 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 D | print.h | 67 #define MAXECVT (DECIMAL_STRING_LENGTH-1) 70 #define MAXFCVT (DECIMAL_STRING_LENGTH-1) 74 #define MAXFSIG (DECIMAL_STRING_LENGTH-1)
|
H A D | doprnt.c | 109 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 D | floatingpoint.h | 86 #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 D | base_conversion.h | 212 #define _BIG_FLOAT_SIZE (DECIMAL_STRING_LENGTH/2)
|