Home
last modified time | relevance | path

Searched refs:DBL_DIG (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dtarith.c121 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()
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_abs); in validation_ascii_to_fp()
263 printf(" Error with < %d digit precision %.2f%%\n", DBL_DIG, max); in validation_ascii_to_fp()
/third_party/FreeBSD/contrib/gdtoa/
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)
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;
Dgdtoaimp.h234 #define DBL_DIG 15 macro
242 #define DBL_DIG 16 macro
250 #define DBL_DIG 16 macro
/third_party/musl/include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/ndk_musl_include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/porting/liteos_a/kernel/include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/porting/uniproton/kernel/include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/porting/liteos_m/kernel/include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/libc-test/src/api/
Dfloat.c15 C(DBL_DIG) in f()
/third_party/libsnd/examples/
Dsndfile-to-text.c49 #define OP_DBL_Digs (DBL_DIG + 3)
/third_party/node/deps/icu-small/source/i18n/
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 snprintf(temp, sizeof(temp), "%.*g", DBL_DIG, value); in dtos()
/third_party/icu/icu4c/source/i18n/
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/third_party/skia/third_party/externals/icu/source/i18n/
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/third_party/python/Python/
Ddtoa.c1631 else if (i < DBL_DIG+1) in _Py_dg_strtod()
1637 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1; in _Py_dg_strtod()
1642 if (nd <= DBL_DIG in _Py_dg_strtod()
1652 i = DBL_DIG - nd; in _Py_dg_strtod()
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1250 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/
Dpng.c2912 precision = DBL_DIG;
2915 if (precision > DBL_DIG+1)
2916 precision = DBL_DIG+1;
/third_party/python/Objects/
Dfloatobject.c108 SetIntFlag(DBL_DIG); in PyFloat_GetInfo()
/third_party/protobuf/objectivec/
DGPBDictionary.m1077 //%[NSString stringWithFormat:@"%.*lg", DBL_DIG, VALUE]
2677 …block([NSString stringWithFormat:@"%u", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]…
4427 …block([NSString stringWithFormat:@"%d", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]…
6177 …block([NSString stringWithFormat:@"%llu", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, valu…
7927 …block([NSString stringWithFormat:@"%lld", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, valu…
9729 block(key, [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]);
11427 block(@"false", [NSString stringWithFormat:@"%.*lg", DBL_DIG, _values[0]]);
11430 block(@"true", [NSString stringWithFormat:@"%.*lg", DBL_DIG, _values[1]]);
DGPBUtilities.m1840 FIELD_CASE(Double, double, Double, @"%.*lg", DBL_DIG)
1964 FIELD_CASE(Double, double, doubleValue, @"%.*lg", DBL_DIG)
/third_party/python/Doc/library/
Dsys.rst526 | :const:`dig` | DBL_DIG | maximum number of decimal digits that can be |
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c8726 TYPE(double, double, "%." STRINGIFY_MACROVAL(DBL_DIG) "g") in STRINGIFY_MACROVAL()