Searched defs:precision (Results 1 - 25 of 62) sorted by relevance

123

/external/oprofile/libutil++/
H A Dstream_util.h21 * save the stream flags, precision and fill char.
35 std::streamsize precision; member in class:io_state
/external/flac/libFLAC/
H A Dfloat.c275 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision) argument
286 if(precision > LOG2_LOOKUP_PRECISION)
287 precision = LOG2_LOOKUP_PRECISION;
293 while (x > ONE && k < precision) {
H A Dlpc.c156 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift) argument
162 FLAC__ASSERT(precision > 0);
163 FLAC__ASSERT(precision >= FLAC__MIN_QLP_COEFF_PRECISION);
166 precision--;
167 qmax = 1 << precision;
190 *shift = (int)precision - log2cmax - 1;
213 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q>qmax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,lp_coeff[i]);
215 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision
[all...]
/external/openfst/src/script/
H A Ddraw.cc39 int precision,
45 fontsize, precision, show_weight_one, ostrm, dest);
26 DrawFst(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
/external/webkit/Source/JavaScriptCore/wtf/
H A DDecimalNumber.h92 const char* significand() const { return m_significand; } // significand contains precision characters, is not null-terminated.
93 unsigned precision() const { return m_precision; } function in class:WTF::DecimalNumber
/external/eigen/Eigen/src/Eigen2Support/
H A DMathFunctions.h30 template<typename T> inline T precision () { return NumTraits<T>::dummy_precision(); } function in namespace:Eigen
36 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
38 return internal::isMuchSmallerThan(x, y, precision);
43 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
45 return internal::isApprox(x, y, precision);
50 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
52 return internal::isApproxOrLessThan(x, y, precision);
/external/openfst/src/include/fst/script/
H A Ddraw.h48 const int precision; member in struct:fst::script::FstDrawerArgs
66 int precision,
73 fontsize(fontsize), precision(precision),
87 args->precision, args->show_weight_one);
104 int precision,
53 FstDrawerArgs(const FstClass &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, const string &title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one, ostream *ostrm, const string &dest) argument
H A Ddraw-impl.h56 int precision,
62 fontsize_(fontsize), precision_(precision),
43 FstDrawer(const Fst<A> &fst, const SymbolTable *isyms, const SymbolTable *osyms, const SymbolTable *ssyms, bool accep, string title, float width, float height, bool portrait, bool vertical, float ranksep, float nodesep, int fontsize, int precision, bool show_weight_one) argument
/external/smali/util/src/main/java/ds/tree/
H A DRadixTreeImpl.java417 public void formatTo(Formatter formatter, int flags, int width, int precision) { argument
/external/tcpdump/
H A Dntp.h82 int precision:8; member in struct:ntpdata
/external/e2fsprogs/intl/
H A Dvasnprintf.c278 size_t precision; local
302 precision = 6;
312 precision = (arg < 0 ? 0 : arg);
318 precision = 0;
320 precision = xsum (xtimes (precision, 10), *digitp++ - '0');
431 tmp_length = xsum (tmp_length, precision);
438 tmp_length = xsum (tmp_length, precision);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
H A DUtil.java398 public static double round(double value, int precision) { argument
399 if (precision < 0) {
400 throw new IllegalArgumentException("Should have a precision at least greater than 0!");
402 if (precision == 0) return (long) Math.floor(value);
405 while (n++ < precision)
/external/eigen/Eigen/src/Core/
H A DIO.h31 * - \b precision number of digits for floating point values, or one of the special constants \c StreamPrecision and \c FullPrecision.
33 * stream's own precision setting, as set for instance using \c cout.precision(3). The other special value
34 * \c FullPrecision means that the number of digits will be computed to match the full precision of each floating-point
58 coeffSeparator(_coeffSeparator), precision(_precision), flags(_flags)
71 int precision; member in struct:Eigen::IOFormat
168 if(fmt.precision == StreamPrecision)
172 else if(fmt.precision == FullPrecision)
185 explicit_precision = fmt.precision;
196 if(explicit_precision) sstr.precision(explicit_precisio
[all...]
/external/eigen/unsupported/Eigen/src/Skyline/
H A DSkylineInplaceLU.h51 * \sa precision() */
56 /** \returns the current precision.
59 RealScalar precision() const { function in class:Eigen::SkylineInplaceLU
/external/llvm/lib/Support/
H A DAPFloat.cpp10 // This file implements a class to represent arbitrary precision floating
49 unsigned int precision; member in struct:llvm::fltSemantics
628 unsigned bitsToPreserve = semantics->precision - 1;
636 unsigned QNaNBit = semantics->precision - 2;
652 // For x87 extended precision, we want to make a NaN, not a
684 semantics->precision - 1) == 0);
715 exponent = ourSemantics.precision - 1;
765 return partCountForBits(semantics->precision + 1);
771 return semantics.precision;
842 on to the full-precision resul
[all...]
/external/icu4c/test/intltest/
H A Dastrotst.cpp454 static const double precision = CalendarAstronomer::PI/32; local
465 if(!(got>expectedAge-precision && got<expectedAge+precision)){
/external/icu4c/test/iotest/
H A Diotest.cpp578 int32_t precision; local
607 precision=testCase->getInt28("precision", errorCode);
619 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, dbl);
623 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i8);
627 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i16);
631 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i32);
635 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i64);
639 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, cBuffer);
642 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, argumen
[all...]
/external/mksh/src/
H A Dshf.c764 ssize_t field, precision, len; local
795 field = precision = 0;
821 precision = 0;
827 precision = tmp;
862 precision = tmp;
870 if (precision < 0)
871 precision = 0;
976 if (precision > len) {
977 field = precision;
981 precision
[all...]
/external/valgrind/main/none/tests/ppc32/
H A Dtest_dfp4.c456 precision_type_t precision; member in struct:dfp_test
464 precision_type_t precision; member in struct:dfp_one_arg_test
494 if (test_def.precision == LONG_TEST) {
514 if (test_def.precision == QUAD_TEST) {
560 if (test_def.precision == LONG_TEST) {
579 if (test_def.precision == LONG_TEST) {
/external/valgrind/main/none/tests/ppc64/
H A Dtest_dfp4.c456 precision_type_t precision; member in struct:dfp_test
464 precision_type_t precision; member in struct:dfp_one_arg_test
494 if (test_def.precision == LONG_TEST) {
514 if (test_def.precision == QUAD_TEST) {
560 if (test_def.precision == LONG_TEST) {
579 if (test_def.precision == LONG_TEST) {
/external/eigen/Eigen/src/SVD/
H A DJacobiSVD.h730 // currently we stop when we reach precision 2*epsilon as the last bit of precision can require an unreasonable number of iterations,
731 // only worsening the precision of U and V as we accumulate more rotations
732 const RealScalar precision = RealScalar(2) * NumTraits<Scalar>::epsilon(); local
765 RealScalar threshold = (max)(considerAsZero, precision * (max)(internal::abs(m_workMatrix.coeff(p,p)),
/external/kernel-headers/original/linux/
H A Dcompat.h55 compat_long_t precision; member in struct:compat_timex
H A Dtimex.h114 long precision; /* clock precision (usec) (read only) */ member in struct:timex
212 extern long time_precision; /* clock precision (us) */
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_string.c1076 const double precision = 0.00000001; local
1090 if ( arg > precision && maxlen ) {
1093 while ( (arg > precision) && maxlen ) {
/external/stlport/src/
H A Dnum_put_float.cpp403 // If long double value can be safely converted to double without losing precision
443 // If long double value can be safely converted to double without losing precision
481 // according to the specified precision and format flags. This is
490 int precision) {
506 if (precision != 0 || flags & ios_base::showpoint) {
511 while (*bp != 0 && precision--)
515 if (precision > 0)
516 buf.append(precision, '0');
553 int precision) {
554 if ( sign && (decpt > -precision)
487 __format_float_scientific( __iostring& buf, const char *bp, int decpt, int sign, bool is_zero, ios_base::fmtflags flags, int precision) argument
550 __format_float_fixed( __iostring &buf, const char *bp, int decpt, int sign, ios_base::fmtflags flags, int precision) argument
651 __format_float(__iostring &buf, const char * bp, int decpt, int sign, bool is_zero, ios_base::fmtflags flags, int precision) argument
749 __write_floatT(__iostring &buf, ios_base::fmtflags flags, int precision, _FloatT x , char modifier) argument
761 snprintf(_STLP_ARRAY_AND_SIZE(static_buf), fmtbuf, precision, x); local
823 __write_float(__iostring &buf, ios_base::fmtflags flags, int precision, double x) argument
834 __write_float(__iostring &buf, ios_base::fmtflags flags, int precision, long double x) argument
[all...]

Completed in 736 milliseconds

123