Home
last modified time | relevance | path

Searched refs:denominator (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/
Dbignum-dtoa.cc61 Bignum* denominator,
71 Bignum* numerator, Bignum* denominator,
75 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
81 Bignum* numerator, Bignum* denominator,
88 Bignum* numerator, Bignum* denominator,
118 Bignum denominator; in BignumDtoa() local
128 &numerator, &denominator, in BignumDtoa()
132 &numerator, &denominator, in BignumDtoa()
138 GenerateShortestDigits(&numerator, &denominator, in BignumDtoa()
144 &numerator, &denominator, in BignumDtoa()
[all …]
/external/icu4c/i18n/
Dgregoimp.h39 static int32_t floorDivide(int32_t numerator, int32_t denominator);
50 static inline double floorDivide(double numerator, double denominator);
67 static int32_t floorDivide(double numerator, int32_t denominator,
254 inline double ClockMath::floorDivide(double numerator, double denominator) { in floorDivide() argument
255 return uprv_floor(numerator / denominator); in floorDivide()
Dgregoimp.cpp27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { in floorDivide() argument
29 numerator / denominator : ((numerator + 1) / denominator) - 1; in floorDivide()
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, in floorDivide() argument
35 quotient = uprv_floor(numerator / denominator); in floorDivide()
36 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide()
Dnfsubs.cpp268 double denominator; member in NumeratorSubstitution
285 …: NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominato… in NumeratorSubstitution()
287 ldenominator = util64_fromDouble(denominator); in NumeratorSubstitution()
295 virtual double transformNumber(double number) const { return uprv_round(number * denominator); } in transformNumber()
307 virtual double calcUpperBound(double /*oldUpperBound*/) const { return denominator; } in calcUpperBound()
1244 while ((nf *= 10) < denominator) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
1347 denominator == ((const NumeratorSubstitution*)&rhs)->denominator; in operator ==()
/external/webkit/Source/WebCore/rendering/mathml/
DRenderMathMLFraction.cpp73 RenderObject* denominator = numerator->nextSibling(); in updateFromElement() local
74 if (!denominator) in updateFromElement()
79 denominator->style()->setTextAlign(LEFT); in updateFromElement()
81 denominator->style()->setTextAlign(RIGHT); in updateFromElement()
83 denominator->style()->setTextAlign(CENTER); in updateFromElement()
/external/jhead/
Dexif.c468 unsigned int *denominator) { in float2urat() argument
471 *denominator = 1; in float2urat()
477 *denominator = 1; in float2urat()
486 *denominator = 1; in float2urat()
489 *denominator = max; in float2urat()
506 *denominator = d; in float2urat()
514 *denominator = 1; in float2urat()
518 unsigned int *denominator) { in ConvertDoubleToURational() argument
519 float2urat(value, 0xFFFFFFFFU, numerator, denominator); in ConvertDoubleToURational()
523 int *denominator) { in ConvertDoubleToSRational() argument
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DLoopBlinnMathUtils.cpp163 float denominator = dot00 * dot11 - dot01 * dot01; in pointInTriangle() local
164 if (!denominator) in pointInTriangle()
168 float inverseDenominator = 1.0f / denominator; in pointInTriangle()
329 bool safeUnitDivide(float numerator, float denominator, float& ratio) in safeUnitDivide() argument
334 denominator = -denominator; in safeUnitDivide()
336 if (!numerator || !denominator || numerator >= denominator) in safeUnitDivide()
338 float r = numerator / denominator; in safeUnitDivide()
/external/libyuv/files/source/
Dmjpeg_decoder.cc169 static int DivideAndRoundUp(int numerator, int denominator) { in DivideAndRoundUp() argument
170 return (numerator + denominator - 1) / denominator; in DivideAndRoundUp()
173 static int DivideAndRoundDown(int numerator, int denominator) { in DivideAndRoundDown() argument
174 return numerator / denominator; in DivideAndRoundDown()
/external/llvm/test/Transforms/LICM/
Dspeculate.ll3 ; UDiv is safe to speculate if the denominator is known non-zero.
36 ; UDiv is unsafe to speculate if the denominator is not known non-zero.
68 ; SDiv is safe to speculate if the denominator is known non-zero and
103 ; SDiv is unsafe to speculate if the denominator is not known non-zero.
136 ; SDiv is unsafe to speculate if the denominator is not known to have a zero bit.
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java369 float denominator = p.getNormal().dot(direction); in intersectsWherePlane() local
371 if (denominator > -FastMath.FLT_EPSILON && denominator < FastMath.FLT_EPSILON) { in intersectsWherePlane()
375 float ratio = numerator / denominator; in intersectsWherePlane()
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11mouse.c260 &mouse_accel.denominator, in X11_CheckMouseModeNoLock()
276 mouse_accel.denominator, in X11_CheckMouseModeNoLock()
DSDL_x11video.h95 int denominator; member
/external/chromium/third_party/libjingle/source/talk/base/
Dnetwork.cc401 double denominator = uniform_denominator_ + exp_shift * in EstimateQuality() local
404 if (denominator < DBL_EPSILON) in EstimateQuality()
407 quality_ = numerator / denominator; in EstimateQuality()
/external/chromium/base/metrics/
Dhistogram.cc499 double denominator = ranges(i + 1) - ranges(i); in GetBucketSize() local
500 if (denominator > kTransitionWidth) in GetBucketSize()
501 denominator = kTransitionWidth; // Stop trying to normalize. in GetBucketSize()
502 return current/denominator; in GetBucketSize()
853 double denominator = ranges(i + 1) - ranges(i); in GetBucketSize() local
854 return current/denominator; in GetBucketSize()
/external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
Dexif.js428 case 5: // rational = two long values, first is numerator, second is denominator
450 case 10: // signed rational, two slongs, first is numerator, second is denominator
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
DXvlib.h62 int denominator; member
DXvproto.h70 INT32 denominator B32;
/external/valgrind/main/exp-bbv/tests/arm-linux/
Dll.S406 @ r3=numerator r4=denominator
413 mul r5,r7,r4 @ multiply Q by denominator
/external/icu4c/common/
Duchar.c409 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue() local
410 return (double)numerator/denominator; in u_getNumericValue()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
DXv.c374 pe->rate.denominator = u.pe->rate.denominator; in SDL_NAME()
/external/chromium/chrome/browser/automation/
Dui_controls_mac.mm62 // denominator is a fraction.
/external/bison/lib/
Dvasnprintf.c1203 mpn_t denominator; in scale10_round_decimal_decoded() local
1219 denominator.limbs = ptr; in scale10_round_decimal_decoded()
1220 denominator.nlimbs = s_limbs + 1; in scale10_round_decimal_decoded()
1222 z_memory = divide (numerator, denominator, &z); in scale10_round_decimal_decoded()
/external/kernel-headers/original/linux/
Dvideodev2.h235 __u32 denominator; member
/external/llvm/docs/
DCodingStandards.rst387 (and Visual Studio tends to be the lowest common denominator). If advanced