/third_party/boost/boost/math/special_functions/detail/ |
D | hypergeometric_cf.hpp | 36 numer = -(z / (b * n)); in operator ()() 37 term = std::make_pair(numer, 1 - numer); in operator ()() 45 T numer; member 65 numer = -((a * z) / n); in operator ()() 66 term = std::make_pair(numer, 1 - numer); in operator ()() 74 T numer; member 94 numer = -((a * z) / (b * n)); in operator ()() 95 term = std::make_pair(numer, 1 - numer); in operator ()() 103 T numer; member 123 numer = -((a * z) / ((b * c) * n)); in operator ()() [all …]
|
D | hypergeometric_separated_series.hpp | 23 T denom = 1, numer = 1; in hypergeometric_1F1_separated_series() local 31 denom *= mult; numer *= mult; in hypergeometric_1F1_separated_series() 32 numer += a_pochhammer * z_pow; in hypergeometric_1F1_separated_series() 34 result = numer / denom; in hypergeometric_1F1_separated_series()
|
/third_party/uboot/u-boot-2020.01/lib/ |
D | ldiv.c | 12 ldiv (long int numer, long int denom) in ldiv() argument 16 result.quot = numer / denom; in ldiv() 17 result.rem = numer % denom; in ldiv() 35 if (numer >= 0 && result.rem < 0) in ldiv()
|
/third_party/mingw-w64/mingw-w64-crt/misc/ |
D | imaxdiv.c | 22 imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument 25 result.quot = numer / denom; in imaxdiv() 26 result.rem = numer % denom; in imaxdiv()
|
/third_party/flutter/skia/src/core/ |
D | SkMathPriv.h | 33 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { in SkTDivMod() argument 41 const In d = numer/denom; in SkTDivMod() 43 *mod = static_cast<Out>(numer-d*denom); in SkTDivMod() 46 *div = static_cast<Out>(numer/denom); in SkTDivMod() 47 *mod = static_cast<Out>(numer%denom); in SkTDivMod()
|
D | SkCubicSolver.h | 54 float numer = 2 * fp * f; in cubic_solver() local 57 t -= numer / denom; in cubic_solver()
|
D | SkDrawShadowInfo.h | 37 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() argument 38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
|
/third_party/flutter/skia/tests/ |
D | MathTest.cpp | 457 SkFixed numer = rand.nextS(); in DEF_TEST() local 459 SkFixed result = SkFixedDiv(numer, denom); in DEF_TEST() 460 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST() 462 (void)SkCLZ(numer); in DEF_TEST() 472 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8x\n", numer, denom, result, check); in DEF_TEST() 527 T numer; in test_divmod() member 541 const T numer = kEdgeCases[i].numer; in test_divmod() local 544 SkTDivMod(numer, denom, &div, &mod); in test_divmod() 545 REPORTER_ASSERT(r, numer/denom == div); in test_divmod() 546 REPORTER_ASSERT(r, numer%denom == mod); in test_divmod() [all …]
|
/third_party/skia/tests/ |
D | MathTest.cpp | 489 SkFixed numer = rand.nextS(); in DEF_TEST() local 491 SkFixed result = SkFixedDiv(numer, denom); in DEF_TEST() 492 int64_t check = SkLeftShift((int64_t)numer, 16) / denom; in DEF_TEST() 494 (void)SkCLZ(numer); in DEF_TEST() 504 ERRORF(reporter, "\nFixed Divide: %8x / %8x -> %8x %8" PRIx64 "\n", numer, denom, in DEF_TEST() 560 T numer; in test_divmod() member 574 const T numer = kEdgeCases[i].numer; in test_divmod() local 577 SkTDivMod(numer, denom, &div, &mod); in test_divmod() 578 REPORTER_ASSERT(r, numer/denom == div); in test_divmod() 579 REPORTER_ASSERT(r, numer%denom == mod); in test_divmod() [all …]
|
/third_party/skia/src/core/ |
D | SkMathPriv.h | 33 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { in SkTDivMod() argument 41 const In d = numer/denom; in SkTDivMod() 43 *mod = static_cast<Out>(numer-d*denom); in SkTDivMod() 46 *div = static_cast<Out>(numer/denom); in SkTDivMod() 47 *mod = static_cast<Out>(numer%denom); in SkTDivMod()
|
D | SkCubicSolver.h | 54 float numer = 2 * fp * f; in cubic_solver() local 57 t -= numer / denom; in cubic_solver()
|
D | SkDrawShadowInfo.h | 38 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() argument 39 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearPoint() local 41 if (!between(0, numer, denom)) { in nearPoint() 47 double t = numer / denom; in nearPoint() 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearRay() local 71 double t = numer / denom; in nearRay()
|
D | SkPathOpsQuad.cpp | 355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() argument 357 if (numer < 0) { in valid_unit_divide() 358 numer = -numer; in valid_unit_divide() 361 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 364 double r = numer / denom; in valid_unit_divide()
|
/third_party/skia/src/pathops/ |
D | SkPathOpsLine.cpp | 40 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearPoint() local 41 if (!between(0, numer, denom)) { in nearPoint() 47 double t = numer / denom; in nearPoint() 70 double numer = len.fX * ab0.fX + ab0.fY * len.fY; in nearRay() local 71 double t = numer / denom; in nearRay()
|
D | SkPathOpsQuad.cpp | 355 static int valid_unit_divide(double numer, double denom, double* ratio) in valid_unit_divide() argument 357 if (numer < 0) { in valid_unit_divide() 358 numer = -numer; in valid_unit_divide() 361 if (denom == 0 || numer == 0 || numer >= denom) { in valid_unit_divide() 364 double r = numer / denom; in valid_unit_divide()
|
/third_party/flutter/skia/src/effects/ |
D | SkEmbossMask.cpp | 76 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 80 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 82 SkFixed dot = numer / denom; in Emboss()
|
/third_party/skia/src/effects/ |
D | SkEmbossMask.cpp | 76 SkFixed numer = lx * nx + ly * ny + lz_dot_nz; in Emboss() local 80 if (numer > 0) { // preflight when numer/denom will be <= 0 in Emboss() 82 SkFixed dot = numer / denom; in Emboss()
|
/third_party/flutter/skia/include/private/ |
D | SkFloatingPoint.h | 234 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() argument 235 return numer / denom; in sk_ieee_float_divide() 241 static inline double sk_ieee_double_divide(double numer, double denom) { in sk_ieee_double_divide() argument 242 return numer / denom; in sk_ieee_double_divide()
|
D | SkFixed.h | 92 #define SkFixedDiv(numer, denom) \ argument 93 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/third_party/skia/include/private/ |
D | SkFloatingPoint.h | 255 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() argument 256 return numer / denom; in sk_ieee_float_divide() 260 static inline double sk_ieee_double_divide(double numer, double denom) { in sk_ieee_double_divide() argument 261 return numer / denom; in sk_ieee_double_divide()
|
D | SkFixed.h | 93 #define SkFixedDiv(numer, denom) \ argument 94 SkToS32(SkTPin<int64_t>((SkLeftShift((int64_t)(numer), 16) / (denom)), SK_MinS32, SK_MaxS32))
|
/third_party/uboot/u-boot-2020.01/drivers/clk/altera/ |
D | clk-arria10.c | 121 ulong rate = 0, reg, numer, denom; in socfpga_a10_clk_get_rate() local 132 numer = reg & CLKMGR_MAINPLL_VCO1_NUMER_MSK; in socfpga_a10_clk_get_rate() 137 rate *= numer + 1; in socfpga_a10_clk_get_rate() 140 numer = reg & CLKMGR_PERPLL_VCO1_NUMER_MSK; in socfpga_a10_clk_get_rate() 145 rate *= numer + 1; in socfpga_a10_clk_get_rate()
|
/third_party/boost/boost/chrono/detail/inlined/mac/ |
D | chrono.hpp | 109 return static_cast<double>(MachInfo.numer) / MachInfo.denom; in compute_steady_factor() 172 if (MachInfo.numer == MachInfo.denom) in init_steady_clock() 191 if (MachInfo.numer == MachInfo.denom) in init_steady_clock_ec()
|
/third_party/gn/src/util/ |
D | ticks.cc | 48 g_start = (mach_absolute_time() * g_timebase.numer) / g_timebase.denom; in Init() 78 ((mach_absolute_time() * g_timebase.numer) / g_timebase.denom) - g_start; in TicksNow()
|