Home
last modified time | relevance | path

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

12

/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/flutter/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/porting/uniproton/kernel/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/liteos_m/kernel/include/
Dfloat.h38 #define DBL_DIG 15 macro
/third_party/musl/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/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/icu/icu4c/source/i18n/
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/
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/third_party/flutter/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/libxml2/
Dxmlschemastypes.c5710 #ifndef DBL_DIG
5711 #define DBL_DIG 16
5717 #define INTEGER_DIGITS DBL_DIG
5718 #define FRACTION_DIGITS (DBL_DIG + 1)
5749 char work[DBL_DIG + EXPONENT_DIGITS + 3];
5763 integer_place = DBL_DIG + EXPONENT_DIGITS + 1;
5764 fraction_place = DBL_DIG - 1;
5767 after_fraction = strchr(work + DBL_DIG, 'e');
Dxpath.c3106 #ifndef DBL_DIG
3107 #define DBL_DIG 16 macro
3117 #define INTEGER_DIGITS DBL_DIG
3118 #define FRACTION_DIGITS (DBL_DIG + 1 + (LOWER_DOUBLE_EXP))
3180 char work[DBL_DIG + EXPONENT_DIGITS + 3 + LOWER_DOUBLE_EXP]; in xmlXPathFormatNumber()
3198 integer_place = DBL_DIG + EXPONENT_DIGITS + 1; in xmlXPathFormatNumber()
3199 fraction_place = DBL_DIG - 1; in xmlXPathFormatNumber()
3210 fraction_place = DBL_DIG - integer_place - 1; in xmlXPathFormatNumber()
3212 fraction_place = DBL_DIG - integer_place; in xmlXPathFormatNumber()
Dtrio.c288 # define DECIMAL_DIG DBL_DIG
306 # define LDBL_DIG DBL_DIG
2722 ? DBL_DIG
/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/flutter/skia/third_party/externals/libpng/
Dpng.c2912 precision = DBL_DIG;
2915 if (precision > DBL_DIG+1)
2916 precision = DBL_DIG+1;
/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]]);

12