Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dtarith.c79 double max_error_abs=17; /* Used when precision is DBL_DIG */ in validation_ascii_to_fp()
121 fprintf(stderr, "%.*g %d\n", DBL_DIG, test, precision); in validation_ascii_to_fp()
191 (precision >= DBL_DIG) ? DBL_DIG-1 : precision-1); in validation_ascii_to_fp()
196 * DBL_DIG allowed. In any case a small number of errors may in validation_ascii_to_fp()
203 double percent = (precision >= DBL_DIG) ? max_error_abs : max_error; in validation_ascii_to_fp()
206 if (precision >= DBL_DIG) in validation_ascii_to_fp()
220 DBL_DIG, test, precision, buffer, DBL_DIG, out, change, allow, in validation_ascii_to_fp()
262 printf(" Error with >=%d digit precision %.2f%%\n", DBL_DIG, max_ab in validation_ascii_to_fp()
[all...]
/third_party/FreeBSD/contrib/gdtoa/
H A Dstrtod.c245 else if (nd <= DBL_DIG + 1)
249 else if (nd <= DBL_DIG + 1)
349 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
353 if (k > DBL_DIG)
359 if (nd <= DBL_DIG
385 i = DBL_DIG - nd;
436 if (k <= DBL_DIG)
H A Dstrtodg.c444 else if (nd <= DBL_DIG + 1)
448 else if (nd <= DBL_DIG + 1)
550 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
555 if (nbits <= P && nd <= DBL_DIG) {
573 i = DBL_DIG - nd;
H A Dgdtoaimp.h118 * define some or all of DBL_DIG, DBL_MAX_10_EXP, DBL_MAX_EXP,
234 #define DBL_DIG 15 macro
242 #define DBL_DIG 16 macro
250 #define DBL_DIG 16 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/include/
H A Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/libc-test/src/api/
H A Dfloat.c15 C(DBL_DIG) in f()
/third_party/libsnd/examples/
H A Dsndfile-to-text.c49 #define OP_DBL_Digs (DBL_DIG + 3)
/third_party/icu/icu4c/source/i18n/
H A Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/third_party/node/deps/icu-small/source/i18n/
H A Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 snprintf(temp, sizeof(temp), "%.*g", DBL_DIG, value); in dtos()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/third_party/python/Python/
H A Ddtoa.c1617 /* put first DBL_DIG+1 digits into integer y and z. in _Py_dg_strtod()
1632 else if (i < DBL_DIG+1) in _Py_dg_strtod()
1638 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1; in _Py_dg_strtod()
1643 if (nd <= DBL_DIG in _Py_dg_strtod()
1653 i = DBL_DIG - nd; in _Py_dg_strtod()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc36 #include <float.h> // FLT_DIG and DBL_DIG
1246 // DBL_DIG is 15 for IEEE-754 doubles, which are used on almost all in DoubleToBuffer()
1247 // platforms these days. Just in case some system exists where DBL_DIG in DoubleToBuffer()
1250 GOOGLE_COMPILE_ASSERT(DBL_DIG < 20, DBL_DIG_is_too_big); in DoubleToBuffer()
1264 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG, value); in DoubleToBuffer()
1279 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG+2, value); in DoubleToBuffer()
/third_party/skia/third_party/externals/libpng/
H A Dpng.c2912 precision = DBL_DIG; in png_ascii_from_fp()
2915 if (precision > DBL_DIG+1) in png_ascii_from_fp()
2916 precision = DBL_DIG+1; in png_ascii_from_fp()
/third_party/python/Objects/
H A Dfloatobject.c75 {"dig", "DBL_DIG -- maximum number of decimal digits that "
115 SetIntFlag(DBL_DIG); in PyFloat_GetInfo()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c8726 TYPE(double, double, "%." STRINGIFY_MACROVAL(DBL_DIG) "g")
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 43 milliseconds