Home
last modified time | relevance | path

Searched refs:decpt (Results 1 – 8 of 8) sorted by relevance

/glibc-2.36/misc/
Dtst-efgcvt-template.c55 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 …]
Defgcvt_r-template.c37 __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 …]
Defgcvt-template.c44 __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/
Dnldbl-qecvt.c7 qecvt (double val, int ndigit, int *__restrict decpt, int *__restrict sign) in qecvt() argument
9 return ecvt (val, ndigit, decpt, sign); in qecvt()
Dnldbl-qfcvt.c7 qfcvt (double val, int ndigit, int *__restrict decpt, int *__restrict sign) in qfcvt() argument
9 return fcvt (val, ndigit, decpt, sign); in qfcvt()
Dnldbl-qecvt_r.c7 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()
Dnldbl-qfcvt_r.c7 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/
Darith.texi3174 @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…