/glibc-2.36/misc/ |
D | tst-efgcvt-template.c | 55 int decpt; member 146 int decpt, sign; in test() local 151 p = efcvt (tests[no].value, tests[no].ndigit, &decpt, &sign); in test() 152 if (decpt != tests[no].decpt in test() 156 tests[no].result, tests[no].decpt, in test() 158 p, decpt, sign); in test() 167 int decpt, sign, res; in test_r() local 173 res = efcvt_r (tests[no].value, tests[no].ndigit, &decpt, &sign, in test_r() 176 || decpt != tests[no].decpt in test_r() 180 tests[no].result, tests[no].decpt, 0, in test_r() [all …]
|
D | efgcvt_r-template.c | 37 __FCVT_R (FLOAT_TYPE value, int ndigit, int *decpt, int *sign, in __FCVT_R() argument 89 *decpt = i; in __FCVT_R() 101 if (*decpt == 1 && buf[0] == '0' && value != 0.0) in __FCVT_R() 105 --*decpt; in __FCVT_R() 108 --*decpt; in __FCVT_R() 113 memmove (&buf[MAX (*decpt, 0)], &buf[i], n - i); in __FCVT_R() 114 buf[n - (i - MAX (*decpt, 0))] = '\0'; in __FCVT_R() 119 *decpt += left; in __FCVT_R() 132 __ECVT_R (FLOAT_TYPE value, int ndigit, int *decpt, int *sign, in __ECVT_R() argument 188 *decpt = 1; in __ECVT_R() [all …]
|
D | efgcvt-template.c | 44 __FCVT (FLOAT_TYPE value, int ndigit, int *decpt, int *sign) in __FCVT() argument 48 if (__FCVT_R (value, ndigit, decpt, sign, FCVT_BUFFER, MAXDIG) != -1) in __FCVT() 56 (void) __FCVT_R (value, ndigit, decpt, sign, FCVT_BUFPTR, FCVT_MAXDIG); in __FCVT() 63 __ECVT (FLOAT_TYPE value, int ndigit, int *decpt, int *sign) in __ECVT() argument 65 (void) __ECVT_R (value, ndigit, decpt, sign, ECVT_BUFFER, MAXDIG); in __ECVT()
|
/glibc-2.36/sysdeps/ieee754/ldbl-opt/ |
D | nldbl-qecvt.c | 7 qecvt (double val, int ndigit, int *__restrict decpt, int *__restrict sign) in qecvt() argument 9 return ecvt (val, ndigit, decpt, sign); in qecvt()
|
D | nldbl-qfcvt.c | 7 qfcvt (double val, int ndigit, int *__restrict decpt, int *__restrict sign) in qfcvt() argument 9 return fcvt (val, ndigit, decpt, sign); in qfcvt()
|
D | nldbl-qecvt_r.c | 7 qecvt_r (double val, int ndigit, int *__restrict decpt, int *__restrict sign, in qecvt_r() argument 10 return ecvt_r (val, ndigit, decpt, sign, buf, len); in qecvt_r()
|
D | nldbl-qfcvt_r.c | 7 qfcvt_r (double val, int ndigit, int *__restrict decpt, int *__restrict sign, in qfcvt_r() argument 10 return fcvt_r (val, ndigit, decpt, sign, buf, len); in qfcvt_r()
|
/glibc-2.36/manual/ |
D | arith.texi | 3174 @deftypefun {char *} ecvt (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}) 3182 last digit is rounded to nearest. @code{*@var{decpt}} is set to the 3194 @code{*@var{decpt}} is @code{0} or @code{1}. 3200 @deftypefun {char *} fcvt (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}) 3236 @deftypefun {char *} qecvt (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{… 3244 @deftypefun {char *} qfcvt (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{… 3272 @deftypefun int ecvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, cha… 3283 @deftypefun int fcvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg}, cha… 3295 @deftypefun int qecvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg… 3306 @deftypefun int qfcvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{neg…
|