Home
last modified time | relevance | path

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

12

/third_party/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/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/musl/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/porting/liteos_a/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/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 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/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/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/grpc/third_party/upb/upb/pb/
Dtextprinter.c179 TYPE(double, double, "%." STRINGIFY_MACROVAL(DBL_DIG) "g") in STRINGIFY_MACROVAL()
/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');
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlschemastypes.c5620 #ifndef DBL_DIG
5621 #define DBL_DIG 16
5627 #define INTEGER_DIGITS DBL_DIG
5628 #define FRACTION_DIGITS (DBL_DIG + 1)
5659 char work[DBL_DIG + EXPONENT_DIGITS + 3];
5673 integer_place = DBL_DIG + EXPONENT_DIGITS + 1;
5674 fraction_place = DBL_DIG - 1;
5677 after_fraction = strchr(work + DBL_DIG, 'e');
/third_party/boost/libs/config/test/
Dmath_info.cpp326 PRINT_EXPRESSION(DBL_DIG); in main()
/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/glib/glib/gnulib/
Dvasnprintf.c1678 (unsigned int) (DBL_DIG in MAX_ROOM_NEEDED()
3023 (unsigned int) ((DBL_DIG + 1) in VASNPRINTF()
3266 && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) in VASNPRINTF()
3529 tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); in VASNPRINTF()
3535 tmp_length = DBL_DIG + 1; in VASNPRINTF()
/third_party/gettext/gettext-runtime/libasprintf/
Dvasnprintf.c1735 (unsigned int) (DBL_DIG in MAX_ROOM_NEEDED()
3268 (unsigned int) ((DBL_DIG + 1) in VASNPRINTF()
3511 && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) in VASNPRINTF()
3774 tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); in VASNPRINTF()
3780 tmp_length = DBL_DIG + 1; in VASNPRINTF()
/third_party/gettext/gettext-runtime/intl/
Dvasnprintf.c1735 (unsigned int) (DBL_DIG in MAX_ROOM_NEEDED()
3268 (unsigned int) ((DBL_DIG + 1) in VASNPRINTF()
3511 && precision < (unsigned int) ((DBL_DIG + 1) * 0.831) + 1) in VASNPRINTF()
3774 tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); in VASNPRINTF()
3780 tmp_length = DBL_DIG + 1; in VASNPRINTF()
/third_party/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;

12