Home
last modified time | relevance | path

Searched refs:DBL_MANT_DIG (Results 1 – 25 of 30) sorted by relevance

12

/third_party/ffmpeg/libavutil/
Davsscanf.c331 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/
DdeRandom.c91 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/
Dtest_long.py34 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.c4 #if LDBL_MANT_DIG != DBL_MANT_DIG
/third_party/musl/src/math/
D__math_invalidl.c4 #if LDBL_MANT_DIG != DBL_MANT_DIG
/third_party/musl/porting/liteos_a/kernel/include/
Dfloat.h33 #define DBL_MANT_DIG 53 macro
/third_party/musl/porting/uniproton/kernel/include/
Dfloat.h33 #define DBL_MANT_DIG 53 macro
/third_party/musl/include/
Dfloat.h33 #define DBL_MANT_DIG 53 macro
/third_party/musl/porting/liteos_m/kernel/include/
Dfloat.h33 #define DBL_MANT_DIG 53 macro
/third_party/python/Objects/
Dfloatobject.c109 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()
Dlongobject.c2757 #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/
Dfloat.c11 C(DBL_MANT_DIG) in f()
/third_party/musl/libc-test/src/math/special/
Dnexttoward.h5 #if LDBL_MANT_DIG > DBL_MANT_DIG
Dnexttowardf.h5 #if LDBL_MANT_DIG > DBL_MANT_DIG
/third_party/skia/src/utils/
DSkFloatUtils.h41 static const int digits = DBL_MANT_DIG;
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dgenerate_real_test.cc320 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/
Dlibm.h270 #if LDBL_MANT_DIG != DBL_MANT_DIG
Dfloatscan.c440 bits = DBL_MANT_DIG; in __floatscan()
/third_party/musl/src/internal/
Dlibm.h270 #if LDBL_MANT_DIG != DBL_MANT_DIG
Dfloatscan.c440 bits = DBL_MANT_DIG; in __floatscan()
/third_party/python/Modules/
Dcmathmodule.c78 #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/
Dfloatscan.c440 bits = DBL_MANT_DIG; in __floatscan()
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dfloatscan.c440 bits = DBL_MANT_DIG; in __floatscan()
/third_party/optimized-routines/math/test/
Dulp.c841 if (!f->singleprec && LDBL_MANT_DIG == DBL_MANT_DIG) in main()
/third_party/node/deps/icu-small/source/common/
Dputil.cpp585 return pow(2.0, DBL_MANT_DIG + 1.0) - 1.0; in uprv_maxMantissa()

12