Searched refs:sigfigs (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dhdtoa.c126 static const int sigfigs = (DBL_MANT_DIG + 3) / 4; local
163 bufsize = (sigfigs > ndigits) ? sigfigs : ndigits;
176 for (s = s0 + bufsize - 1; s > s0 + sigfigs - 1; s--)
178 for (; s > s0 + sigfigs - (DBL_FRACLBITS / 4) - 1 && s > s0; s--) {
197 for (ndigits = sigfigs; s0[ndigits - 1] == 0; ndigits--)
201 if (sigfigs > ndigits && s0[ndigits] != 0)
223 static const int sigfigs = (LDBL_MANT_DIG + 3) / 4; local
260 bufsize = (sigfigs > ndigits) ? sigfigs
[all...]

Completed in 3 milliseconds