HomeSort by relevance Sort by last modified time
    Searched refs:ndigits (Results 1 - 25 of 45) sorted by null

1 2

  /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 49 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign,
104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve);
113 __ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign,
118 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...]
gdtoa.c 116 (fpi, be, bits, kindp, mode, ndigits, decpt, rve)
118 int *kindp, mode, ndigits, *decpt; char **rve;
120 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve)
123 /* Arguments ndigits and decpt are similar to the second and third
136 2 ==> max(1,ndigits) significant digits. This gives a
139 3 ==> through ndigits past the decimal point. This
142 ndigits can be negative.
300 ndigits = 0;
306 if (ndigits <= 0)
307 ndigits = 1
    [all...]
  /external/libweave/third_party/chromium/base/third_party/dmg_fp/
dmg_fp.h 18 char* dtoa(double d, int mode, 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);
  /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...]
  /ndk/sources/android/support/src/stdio/
strtod.c 412 extern "C" char *__dtoa(double d, int mode, int ndigits,
    [all...]
  /libcore/ojluni/src/main/java/sun/misc/
FormattedFloatingDecimal.java 39 int nDigits;
57 this.nDigits = n;
312 int ndigits; local
336 ndigits = 10;
338 digitno = ndigits-1;
356 ndigits = 20;
358 digitno = ndigits-1;
375 ndigits -= digitno;
376 result = new char[ ndigits ];
377 System.arraycopy( digits, digitno, result, 0, ndigits );
    [all...]
  /libcore/ojluni/src/main/java/java/lang/
FloatingDecimal.java 39 int nDigits;
295 int ndigits; local
319 ndigits = 10;
321 digitno = ndigits-1;
339 ndigits = 20;
341 digitno = ndigits-1;
358 ndigits -= digitno;
359 result = new char[ ndigits ];
360 System.arraycopy( digits, digitno, result, 0, ndigits );
363 this.nDigits = ndigits
    [all...]
  /external/opencv3/3rdparty/libpng/
png.c 1840 unsigned int ndigits = 0, first = 16 \/* flag value *\/; local
    [all...]
  /ndk/sources/cxx-stl/stlport/src/
num_get_float.cpp 87 char ndigits[11] = "0123456789"; local
92 ct.widen(ndigits + 0, ndigits + 10, digits);
  /external/icu/icu4c/source/common/
unames.cpp 451 int ndigits, i; local
458 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4)
460 if (ndigits < 4)
461 ndigits = 4;
462 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) {
466 buffer += ndigits;
467 length += ndigits;
    [all...]
  /external/libpng/contrib/tools/
pngfix.c 189 int ndigits = 0; local
193 result[ndigits++] = (png_uint_16)(val & 0xffff);
197 return ndigits;
335 uarb_shift(uarb inout, int ndigits, unsigned int right_shift)
340 FIX_GCC int i = ndigits;
354 /* The shift may reduce ndigits */
355 if (i == ndigits-1 && temp == 0)
356 ndigits = i;
359 return ndigits;
    [all...]
  /external/icu/icu4c/source/i18n/
plurrule.cpp     [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_long.py 86 # Get quasi-random long consisting of ndigits digits (in base BASE).
92 def getran(self, ndigits):
93 self.assertTrue(ndigits > 0)
94 nbits_hi = ndigits * SHIFT
113 # Get random long consisting of ndigits random digits (relative to base
116 def getran2(ndigits):
118 for i in xrange(ndigits):
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_long.py 86 # Get quasi-random long consisting of ndigits digits (in base BASE).
92 def getran(self, ndigits):
93 self.assertTrue(ndigits > 0)
94 nbits_hi = ndigits * SHIFT
113 # Get random long consisting of ndigits random digits (relative to base
116 def getran2(ndigits):
118 for i in xrange(ndigits):
    [all...]

Completed in 1673 milliseconds

1 2