HomeSort by relevance Sort by last modified time
    Searched refs:numerator (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/v8/src/
bignum-dtoa.cc 55 // Computes v / 10^estimated_power exactly, as a ratio of two bignums, numerator
60 Bignum* numerator,
64 // Multiplies numerator/denominator so that its values lies in the range 1-10.
66 // v = numerator'/denominator' * 10^(decimal_point-1)
67 // where numerator' and denominator' are the values of numerator and
71 Bignum* numerator, Bignum* denominator,
75 static void GenerateShortestDigits(Bignum* numerator, Bignum* denominator,
81 Bignum* numerator, Bignum* denominator,
83 // Generates 'count' digits of numerator/denominator
117 Bignum numerator; local
    [all...]
  /libcore/luni/src/main/java/java/util/
Grego.java 181 public static long floorDivide(long numerator, long denominator) {
183 // a numerator of Long.MIN_VALUE correctly
184 return (numerator >= 0) ?
185 numerator / denominator :
186 ((numerator + 1) / denominator) - 1;
189 private static long floorDivide(long numerator, long denominator, long[] remainder) {
190 if (numerator >= 0) {
191 remainder[0] = numerator % denominator;
192 return numerator / denominator;
194 long quotient = ((numerator + 1) / denominator) - 1;
    [all...]
  /external/webkit/Source/WebCore/rendering/mathml/
RenderMathMLFraction.cpp 64 RenderObject* numerator = firstChild(); local
67 numerator->style()->setTextAlign(LEFT);
69 numerator->style()->setTextAlign(RIGHT);
71 numerator->style()->setTextAlign(CENTER);
73 RenderObject* denominator = numerator->nextSibling();
149 RenderMathMLBlock* numerator = toRenderMathMLBlock(firstChild()); local
150 if (numerator->isRenderMathMLRow())
151 verticalOffset = numerator->offsetHeight() + adjustForThickness;
153 verticalOffset = numerator->offsetHeight();
173 RenderMathMLBlock* numerator = toRenderMathMLBlock(firstChild()) local
    [all...]
  /external/icu4c/i18n/
gregoimp.h 35 * @param numerator the numerator
39 static int32_t floorDivide(int32_t numerator, int32_t denominator);
46 * @param numerator the numerator
50 static inline double floorDivide(double numerator, double denominator);
57 * -1 with <code>remainder</code> => 3. NOTE: If numerator is
59 * @param numerator the numerator
62 * remainder. Unlike <code>numerator % denominator</code>, thi
    [all...]
gregoimp.cpp 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) {
28 return (numerator >= 0) ?
29 numerator / denominator : ((numerator + 1) / denominator) - 1;
32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator,
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
nfrs.cpp 494 * same base value, the first one is used when the numerator of the
514 int64_t numerator; local
519 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5);
526 // "numerator" is the numerator of the fraction if the
527 // denominator is the LCD. The numerator if the rule's
528 // base value is the denominator is "numerator" times the
532 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple;
536 // the numerator's distance from the CLOSEST multiple
557 // the numerator of the fraction is 1 and the second one is used i
    [all...]
  /external/jhead/
exif.c 467 static void float2urat(double value, unsigned int max, unsigned int *numerator,
470 *numerator = 0;
476 *numerator = max;
485 *numerator = 0;
488 *numerator = n;
494 // Try to use a denominator of 1e9, 1e8, ..., until the numerator fits
505 *numerator = n;
513 *numerator = 0;
517 static void ConvertDoubleToURational(double value, unsigned int *numerator,
519 float2urat(value, 0xFFFFFFFFU, numerator, denominator)
1241 unsigned int numerator; local
1255 int numerator; local
    [all...]
  /hardware/ti/omap4xxx/camera/
Encoder_libjpeg.cpp 225 unsigned int numerator = 0; local
234 numerator = atoi(temp);
236 if (!numerator)
237 numerator = 1;
247 numerator = numerator * denominator + atoi(temp);
254 *num = numerator;
  /external/webkit/Source/WebCore/platform/graphics/gpu/
LoopBlinnMathUtils.cpp 326 // Divides the numerator by the denominator safely for the case where
329 bool safeUnitDivide(float numerator, float denominator, float& ratio)
331 if (numerator < 0) {
332 // Make the "numerator >= denominator" check below work.
333 numerator = -numerator;
336 if (!numerator || !denominator || numerator >= denominator)
338 float r = numerator / denominator;
342 if (!r) // catch underflow if numerator <<<< denominato
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi.util_3.2.100.v20100503.jar 
  /external/libyuv/files/source/
mjpeg_decoder.cc 169 static int DivideAndRoundUp(int numerator, int denominator) {
170 return (numerator + denominator - 1) / denominator;
173 static int DivideAndRoundDown(int numerator, int denominator) {
174 return numerator / denominator;
  /external/icu4c/test/intltest/
winnmtst.cpp 98 int64_t numerator = randomInt64(); local
105 ran = (double)numerator / (double)denomenator;
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11mouse.c 189 The first number is the numerator, followed by the acceleration
259 &mouse_accel.numerator,
275 mouse_accel.numerator,
SDL_x11video.h 94 int numerator; member in struct:SDL_PrivateVideoData::__anon13522
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
Xvlib.h 61 int numerator; member in struct:__anon13364
  /system/media/camera/include/system/
camera_metadata.h 69 int32_t numerator; member in struct:camera_metadata_rational
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Ray.java 374 float numerator = -(p.getNormal().dot(origin) - p.getConstant()); local
375 float ratio = numerator / denominator;
  /frameworks/native/opengl/tests/hwc/
hwcCommit.cpp 208 uint32_t numerator(void) { return _n; } function in class:Rational
210 void setNumerator(uint32_t numerator) { _n = numerator; }
    [all...]
  /frameworks/av/media/libstagefright/
OggExtractor.cpp 669 size_t numerator = mTableOfContents.size(); local
671 if (numerator > kMaxNumTOCEntries) {
672 size_t denom = numerator - kMaxNumTOCEntries;
677 if (accum >= numerator) {
679 accum -= numerator;
  /external/chromium/third_party/libjingle/source/talk/base/
network.cc 400 double numerator = uniform_numerator_ + exp_shift * exponential_numerator_; local
407 quality_ = numerator / denominator;
  /external/icu4c/common/
uchar.c 408 int32_t numerator=(ntv>>4)-12; local
410 return (double)numerator/denominator;
  /external/valgrind/main/exp-bbv/tests/arm-linux/
ll.S 406 @ r3=numerator r4=denominator
415 cmp r5,r3 @ is it greater than numerator?
  /external/webrtc/src/modules/audio_processing/ns/
nsx_core.c 1861 WebRtc_UWord32 numerator = 0; local
    [all...]
  /hardware/ti/omap4xxx/camera/OMXCameraAdapter/
OMXExif.cpp 707 unsigned int numerator = 0, denominator = 0; local
745 ExifElementsTable::stringToRational(temp_value, &numerator, &denominator);
746 snprintf(temp_value, sizeof(temp_value)/sizeof(char), "%u/%u", numerator, denominator);
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
Xv.c 373 pe->rate.numerator = u.pe->rate.numerator;

Completed in 484 milliseconds

1 2 3 4