/third_party/ffmpeg/libavutil/ |
D | avsscanf.c | 331 if (lrp < emin-2*DBL_MANT_DIG) { in decfloat() 449 if (bits > DBL_MANT_DIG+e2-emin) { in decfloat() 450 bits = DBL_MANT_DIG+e2-emin; in decfloat() 456 if (bits < DBL_MANT_DIG) { in decfloat() 457 bias = copysign(scalbn(1, 2*DBL_MANT_DIG-bits-1), y); in decfloat() 458 frac = fmod(y, scalbn(1, DBL_MANT_DIG-bits)); in decfloat() 476 if (DBL_MANT_DIG-bits >= 2 && !fmod(frac, 1)) in decfloat() 483 if ((e2+DBL_MANT_DIG & INT_MAX) > emax-5) { in decfloat() 484 if (fabs(y) >= pow(2, DBL_MANT_DIG)) { in decfloat() 485 if (denormal && bits==DBL_MANT_DIG+e2-emin) in decfloat() [all …]
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deRandom.c | 91 return ldexp((double)(deRandom_getUint64(rnd) & ((1ull << DBL_MANT_DIG) - 1)), in deRandom_getDouble() 92 -DBL_MANT_DIG); in deRandom_getDouble()
|
/third_party/python/Lib/test/ |
D | test_long.py | 34 DBL_MANT_DIG = sys.float_info.mant_dig variable 35 DBL_MIN_OVERFLOW = 2**DBL_MAX_EXP - 2**(DBL_MAX_EXP - DBL_MANT_DIG - 1) 102 exp = max(d, DBL_MIN_EXP) - DBL_MANT_DIG 803 if skip_small and max(abs(a), abs(b)) < 2**DBL_MANT_DIG: 839 self.check_truediv(12345, 345678 * 2**(DBL_MANT_DIG - DBL_MIN_EXP)) 845 bases = (0, DBL_MANT_DIG, DBL_MIN_EXP, 846 DBL_MAX_EXP, DBL_MIN_EXP - DBL_MANT_DIG) 866 self.check_truediv((2**DBL_MANT_DIG + 1)*12345*2**200 + 2**n, 867 2**DBL_MANT_DIG*12345) 886 self.check_truediv(2**DBL_MANT_DIG*m + n, m)
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | __math_invalidl.c | 4 #if LDBL_MANT_DIG != DBL_MANT_DIG
|
/third_party/musl/src/math/ |
D | __math_invalidl.c | 4 #if LDBL_MANT_DIG != DBL_MANT_DIG
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | float.h | 33 #define DBL_MANT_DIG 53 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | float.h | 33 #define DBL_MANT_DIG 53 macro
|
/third_party/musl/include/ |
D | float.h | 33 #define DBL_MANT_DIG 53 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | float.h | 33 #define DBL_MANT_DIG 53 macro
|
/third_party/python/Objects/ |
D | floatobject.c | 109 SetIntFlag(DBL_MANT_DIG); in PyFloat_GetInfo() 1073 #define NDIGITS_MAX ((int)((DBL_MANT_DIG-DBL_MIN_EXP) * 0.30103)) in float___round___impl() 1189 #define TOHEX_NBITS DBL_MANT_DIG + 3 - (DBL_MANT_DIG+2)%4 1386 if (ndigits > Py_MIN(DBL_MIN_EXP - DBL_MANT_DIG - LONG_MIN/2, in float_fromhex() 1434 if (top_exp < DBL_MIN_EXP - DBL_MANT_DIG) { in float_fromhex() 1443 lsb = Py_MAX(top_exp, (long)DBL_MIN_EXP) - DBL_MANT_DIG; in float_fromhex() 1478 x == ldexp((double)(2*half_eps), DBL_MANT_DIG)) in float_fromhex()
|
D | longobject.c | 2757 #if DBL_MANT_DIG == 53 2760 #define EXP2_DBL_MANT_DIG (ldexp(1.0, DBL_MANT_DIG)) 2769 digit x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT] = {0,}; in _PyLong_Frexp() 2816 if (a_bits <= DBL_MANT_DIG + 2) { in _PyLong_Frexp() 2817 shift_digits = (DBL_MANT_DIG + 2 - a_bits) / PyLong_SHIFT; in _PyLong_Frexp() 2818 shift_bits = (DBL_MANT_DIG + 2 - a_bits) % PyLong_SHIFT; in _PyLong_Frexp() 2826 shift_digits = (a_bits - DBL_MANT_DIG - 2) / PyLong_SHIFT; in _PyLong_Frexp() 2827 shift_bits = (a_bits - DBL_MANT_DIG - 2) % PyLong_SHIFT; in _PyLong_Frexp() 3729 #define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT) 3730 #define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT) [all …]
|
/third_party/musl/libc-test/src/api/ |
D | float.c | 11 C(DBL_MANT_DIG) in f()
|
/third_party/musl/libc-test/src/math/special/ |
D | nexttoward.h | 5 #if LDBL_MANT_DIG > DBL_MANT_DIG
|
D | nexttowardf.h | 5 #if LDBL_MANT_DIG > DBL_MANT_DIG
|
/third_party/skia/src/utils/ |
D | SkFloatUtils.h | 41 static const int digits = DBL_MANT_DIG;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | generate_real_test.cc | 320 for (int j = 1; j < DBL_MANT_DIG && i - j >= 0; ++j) { in TEST() 325 for (int j = DBL_MANT_DIG; i - j >= 0; ++j) { in TEST()
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | libm.h | 270 #if LDBL_MANT_DIG != DBL_MANT_DIG
|
D | floatscan.c | 440 bits = DBL_MANT_DIG; in __floatscan()
|
/third_party/musl/src/internal/ |
D | libm.h | 270 #if LDBL_MANT_DIG != DBL_MANT_DIG
|
D | floatscan.c | 440 bits = DBL_MANT_DIG; in __floatscan()
|
/third_party/python/Modules/ |
D | cmathmodule.c | 78 #define CM_SCALE_UP (2*(DBL_MANT_DIG/2) + 1) 80 #define CM_SCALE_UP (4*DBL_MANT_DIG+1) 642 r.real = log(hypot(ldexp(ax, DBL_MANT_DIG), in c_log() 643 ldexp(ay, DBL_MANT_DIG))) - DBL_MANT_DIG*M_LN2; in c_log()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | floatscan.c | 440 bits = DBL_MANT_DIG; in __floatscan()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | floatscan.c | 440 bits = DBL_MANT_DIG; in __floatscan()
|
/third_party/optimized-routines/math/test/ |
D | ulp.c | 841 if (!f->singleprec && LDBL_MANT_DIG == DBL_MANT_DIG) in main()
|
/third_party/node/deps/icu-small/source/common/ |
D | putil.cpp | 585 return pow(2.0, DBL_MANT_DIG + 1.0) - 1.0; in uprv_maxMantissa()
|