Home
last modified time | relevance | path

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

12

/external/clang/test/Headers/
Dfloat.c95 #ifndef DBL_DIG
97 #elif DBL_DIG < 10
105 #if ((FLT_DIG > DBL_DIG) || (DBL_DIG > LDBL_DIG))
202 _Static_assert(DBL_DIG == __DBL_DIG__, "");
/external/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()
/external/libcxx/test/std/depr/depr.c.headers/
Dfloat_h.pass.cpp46 #ifndef DBL_DIG
47 #error DBL_DIG not defined
/external/libcxx/test/std/language.support/support.limits/c.limits/
Dcfloat.pass.cpp46 #ifndef DBL_DIG
47 #error DBL_DIG not defined
/external/clang/lib/Headers/
Dfloat.h46 # undef DBL_DIG
94 #define DBL_DIG __DBL_DIG__ macro
/external/icu/icu4c/source/i18n/
Ddigitlst.h42 MAX_DBL_DIGITS = DBL_DIG,
45 MAX_EXPONENT = DBL_DIG,
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Ddigits10.pass.cpp55 test<double, DBL_DIG>(); in main()
/external/libcxx/include/
Dcfloat30 DBL_DIG
/external/libcxx/include/support/win32/
Dlimits_win32.h38 #define __DBL_DIG__ DBL_DIG
/external/libcxx/include/support/ibm/
Dlimits.h67 #define __DBL_DIG__ DBL_DIG
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDigitList.java55 public static final int DBL_DIG = 17; field in DigitList
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDigitList.java53 public static final int DBL_DIG = 17; field in DigitList
/external/libxml2/
Dxmlschemastypes.c5581 #ifndef DBL_DIG
5582 #define DBL_DIG 16
5588 #define INTEGER_DIGITS DBL_DIG
5589 #define FRACTION_DIGITS (DBL_DIG + 1)
5620 char work[DBL_DIG + EXPONENT_DIGITS + 3];
5634 integer_place = DBL_DIG + EXPONENT_DIGITS + 1;
5635 fraction_place = DBL_DIG - 1;
5638 after_fraction = strchr(work + DBL_DIG, 'e');
Dxpath.c3067 #ifndef DBL_DIG
3068 #define DBL_DIG 16 macro
3078 #define INTEGER_DIGITS DBL_DIG
3079 #define FRACTION_DIGITS (DBL_DIG + 1 + (LOWER_DOUBLE_EXP))
3139 char work[DBL_DIG + EXPONENT_DIGITS + 3 + LOWER_DOUBLE_EXP]; in xmlXPathFormatNumber()
3157 integer_place = DBL_DIG + EXPONENT_DIGITS + 1; in xmlXPathFormatNumber()
3158 fraction_place = DBL_DIG - 1; in xmlXPathFormatNumber()
3169 fraction_place = DBL_DIG - integer_place - 1; in xmlXPathFormatNumber()
3171 fraction_place = DBL_DIG - integer_place; in xmlXPathFormatNumber()
Dtrio.c288 # define DECIMAL_DIG DBL_DIG
306 # define LDBL_DIG DBL_DIG
2722 ? DBL_DIG
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1248 GOOGLE_COMPILE_ASSERT(DBL_DIG < 20, DBL_DIG_is_too_big); in DoubleToBuffer()
1262 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG, value); in DoubleToBuffer()
1277 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG+2, value); in DoubleToBuffer()
/external/bison/lib/
Dvasnprintf.c1663 (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()
3531 tmp_length = (type == TYPE_LONGDOUBLE ? LDBL_DIG + 1 : DBL_DIG + 1); in VASNPRINTF()
3537 tmp_length = DBL_DIG + 1; in VASNPRINTF()
/external/skia/third_party/libpng/
Dpng.c2837 precision = DBL_DIG;
2840 if (precision > DBL_DIG+1)
2841 precision = DBL_DIG+1;
/external/libpng/
Dpng.c2869 precision = DBL_DIG;
2872 if (precision > DBL_DIG+1)
2873 precision = DBL_DIG+1;
/external/pdfium/third_party/libpng16/
Dpng.c2838 precision = DBL_DIG;
2841 if (precision > DBL_DIG+1)
2842 precision = DBL_DIG+1;
/external/protobuf/objectivec/
DGPBUtilities.m1308 FIELD_CASE(Double, double, Double, @"%.*lg", DBL_DIG)
1432 FIELD_CASE(Double, double, doubleValue, @"%.*lg", DBL_DIG)
DGPBDictionary.m1156 //%[NSString stringWithFormat:@"%.*lg", DBL_DIG, VALUE]
2915 …block([NSString stringWithFormat:@"%u", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]…
4879 …block([NSString stringWithFormat:@"%d", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]…
6843 …block([NSString stringWithFormat:@"%llu", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, valu…
8807 …block([NSString stringWithFormat:@"%lld", key], [NSString stringWithFormat:@"%.*lg", DBL_DIG, valu…
10823 block(key, [NSString stringWithFormat:@"%.*lg", DBL_DIG, value]);
12764 block(@"false", [NSString stringWithFormat:@"%.*lg", DBL_DIG, _values[0]]);
12767 block(@"true", [NSString stringWithFormat:@"%.*lg", DBL_DIG, _values[1]]);
/external/protobuf/php/ext/google/protobuf/
Dupb.c9329 TYPE(double, double, "%." STRINGIFY_MACROVAL(DBL_DIG) "g") in STRINGIFY_MACROVAL()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c10003 TYPE(double, double, "%." STRINGIFY_MACROVAL(DBL_DIG) "g") in STRINGIFY_MACROVAL()

12