/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
hdtoa.c | 49 roundup(char *s0, int ndigits) 53 for (s = s0 + ndigits - 1; *s == 0xf; s--) { 65 * Round the given digit string to ndigits digits according to the 71 dorounding(char *s0, int ndigits, int sign, int *decpt) 80 if ((s0[ndigits] > 8) || 81 (s0[ndigits] == 8 && s0[ndigits + 1] & 1)) 82 adjust = roundup(s0, ndigits); 86 adjust = roundup(s0, ndigits); 90 adjust = roundup(s0, ndigits); [all...] |
ldtoa.c | 47 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, 102 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); 112 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, 117 ret = dtoa((double)*ld, mode, ndigits, decpt, sign, rve);
|
gdtoa.h | 107 extern char* __dtoa ANSI((double d, int mode, int ndigits, int *decpt, 110 int mode, int ndigits, int *decpt, char **rve));
|
dtoa.c | 78 (d0, mode, ndigits, decpt, sign, rve) 79 double d0; int mode, ndigits, *decpt, *sign; char **rve; 81 (double d0, int mode, int ndigits, int *decpt, int *sign, char **rve) 84 /* Arguments ndigits, decpt, sign are similar to those 96 2 ==> max(1,ndigits) significant digits. This gives a 99 3 ==> through ndigits past the decimal point. This 102 ndigits can be negative. 309 ndigits = 0; 315 if (ndigits <= 0) 316 ndigits = 1 [all...] |
/external/syslinux/com32/lib/ |
vsnprintf.c | 55 int ndigits = 0, nchars; local 71 ndigits++; 74 /* Adjust ndigits for size of output */ 77 if (prec < ndigits + 1) 78 prec = ndigits + 1; 81 if (ndigits < prec) { 82 ndigits = prec; /* Mandatory number padding */ 84 ndigits = 1; /* Zero still requires space */ 91 tickskip = ndigits; /* No tick marks */ 95 ndigits += (ndigits - 1) / tickskip [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a
133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a
133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/external/python/cpython2/Include/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
dtoa.h | 7 PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
floatobject.h | 130 /* Round a C double x to the closest multiple of 10**-ndigits. Returns a 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
ldtoa.c | 56 ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, char **rve)
106 ret = gdtoa(&fpi, be, (ULong *)bits, &kind, mode, ndigits, decpt, rve);
111 return dtoa((double)*ld, mode, ndigits, decpt, sign, rve);
|
gdtoa.h | 121 extern char* dtoa ANSI((double d, int mode, int ndigits, int *decpt,
123 extern char* hdtoa ANSI((double d, const char *xdigs, int ndigits, int *decpt,
125 extern char* ldtoa ANSI((long double *ld, int mode, int ndigits, int *decpt,
127 extern char* hldtoa ANSI((long double e, const char *xdigs, int ndigits,
131 int mode, int ndigits, int *decpt, char **rve));
|
/external/syslinux/com32/lib/sys/ |
xserial_write.c | 54 static int ndigits; local 71 ndigits = ch; 93 if (--ndigits == 0) {
|
/external/bison/lib/ |
vasnprintf.c | 3658 size_t ndigits; local 3713 size_t ndigits; local 3824 size_t ndigits = precision; local 3848 size_t ndigits; local 4123 size_t ndigits; local 4175 size_t ndigits; local 4298 size_t ndigits = precision; local 4322 size_t ndigits; local [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
natconv.go | 305 bb, ndigits := maxPow(b) 309 table := divisors(len(x), b, ndigits, bb) 315 q.convertWords(s, b, ndigits, bb, table) 350 func (q nat) convertWords(s []byte, b Word, ndigits int, bb Word, table []divisor) { 374 h := len(s) - table[index].ndigits 375 r.convertWords(s[h:], b, ndigits, bb, table[0:index]) 376 s = s[:h] // == q.convertWords(s, b, ndigits, bb, table[0:index+1]) 388 for j := 0; j < ndigits && i > 0; j++ { 402 for j := 0; j < ndigits && i > 0; j++ { 426 ndigits int // digit length of divisor in terms of output base digit [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
natconv.go | 305 bb, ndigits := maxPow(b) 309 table := divisors(len(x), b, ndigits, bb) 315 q.convertWords(s, b, ndigits, bb, table) 350 func (q nat) convertWords(s []byte, b Word, ndigits int, bb Word, table []divisor) { 374 h := len(s) - table[index].ndigits 375 r.convertWords(s[h:], b, ndigits, bb, table[0:index]) 376 s = s[:h] // == q.convertWords(s, b, ndigits, bb, table[0:index+1]) 388 for j := 0; j < ndigits && i > 0; j++ { 402 for j := 0; j < ndigits && i > 0; j++ { 426 ndigits int // digit length of divisor in terms of output base digit [all...] |