Home
last modified time | relevance | path

Searched refs:DBL_DIG (Results 1 – 25 of 31) 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/language.support/support.limits/c.limits/
Dcfloat.pass.cpp76 #ifndef DBL_DIG
77 #error DBL_DIG not defined
/external/clang/lib/Headers/
Dfloat.h46 # undef DBL_DIG
94 #define DBL_DIG __DBL_DIG__ macro
/external/libcxx/test/std/depr/depr.c.headers/
Dfloat_h.pass.cpp76 #ifndef DBL_DIG
77 #error DBL_DIG not defined
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc187 static_assert(DBL_DIG < 20, "DBL_DIG is too big"); in DoubleToBuffer()
191 snprintf(buffer, kFastToBufferSize, "%.*g", DBL_DIG, value); in DoubleToBuffer()
205 snprintf(buffer, kFastToBufferSize, "%.*g", DBL_DIG + 2, value); in DoubleToBuffer()
/external/libcxx/include/support/win32/
Dlimits_msvc_win32.h42 #define __DBL_DIG__ DBL_DIG
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Ddigits10.pass.cpp60 test<double, DBL_DIG>(); in main()
/external/python/cpython2/Lib/plat-beos5/
DIN.py84 DBL_DIG = 15 variable
90 LDBL_DIG = DBL_DIG
/external/libcxx/include/
Dcfloat37 DBL_DIG
/external/libcxx/include/support/ibm/
Dlimits.h67 #define __DBL_DIG__ DBL_DIG
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp174 char temp[DBL_DIG + 16]; in dtos()
178 sprintf(temp, "%.*g", DBL_DIG, value); in dtos()
/external/python/cpython3/Python/
Ddtoa.c1626 else if (i < DBL_DIG+1) in _Py_dg_strtod()
1632 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1; in _Py_dg_strtod()
1638 if (nd <= DBL_DIG in _Py_dg_strtod()
1648 i = DBL_DIG - nd; in _Py_dg_strtod()
/external/python/cpython2/Python/
Ddtoa.c1699 else if (i < DBL_DIG+1) in _Py_dg_strtod()
1705 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1; in _Py_dg_strtod()
1711 if (nd <= DBL_DIG in _Py_dg_strtod()
1721 i = DBL_DIG - nd; in _Py_dg_strtod()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDigitList_Android.java58 public static final int DBL_DIG = 17; field in DigitList_Android
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDigitList_Android.java56 public static final int DBL_DIG = 17; field in DigitList_Android
/external/libxml2/
Dxmlschemastypes.c5591 #ifndef DBL_DIG
5592 #define DBL_DIG 16
5598 #define INTEGER_DIGITS DBL_DIG
5599 #define FRACTION_DIGITS (DBL_DIG + 1)
5630 char work[DBL_DIG + EXPONENT_DIGITS + 3];
5644 integer_place = DBL_DIG + EXPONENT_DIGITS + 1;
5645 fraction_place = DBL_DIG - 1;
5648 after_fraction = strchr(work + DBL_DIG, 'e');
Dxpath.c3064 #ifndef DBL_DIG
3065 #define DBL_DIG 16 macro
3075 #define INTEGER_DIGITS DBL_DIG
3076 #define FRACTION_DIGITS (DBL_DIG + 1 + (LOWER_DOUBLE_EXP))
3138 char work[DBL_DIG + EXPONENT_DIGITS + 3 + LOWER_DOUBLE_EXP]; in xmlXPathFormatNumber()
3156 integer_place = DBL_DIG + EXPONENT_DIGITS + 1; in xmlXPathFormatNumber()
3157 fraction_place = DBL_DIG - 1; in xmlXPathFormatNumber()
3168 fraction_place = DBL_DIG - integer_place - 1; in xmlXPathFormatNumber()
3170 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/libpng/
Dpng.c2918 precision = DBL_DIG;
2921 if (precision > DBL_DIG+1)
2922 precision = DBL_DIG+1;
/external/pdfium/third_party/libpng16/
Dpng.c2872 precision = DBL_DIG;
2875 if (precision > DBL_DIG+1)
2876 precision = DBL_DIG+1;
/external/python/cpython3/Objects/
Dfloatobject.c99 SetIntFlag(DBL_DIG); in PyFloat_GetInfo()
/external/protobuf/objectivec/
DGPBUtilities.m1308 FIELD_CASE(Double, double, Double, @"%.*lg", DBL_DIG)
1432 FIELD_CASE(Double, double, doubleValue, @"%.*lg", DBL_DIG)
/external/python/cpython2/Objects/
Dfloatobject.c125 SetIntFlag(DBL_DIG); in PyFloat_GetInfo()

12