HomeSort by relevance Sort by last modified time
    Searched defs:round (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /bionic/libm/src/
s_round.c 33 round(double x) function
  /external/compiler-rt/lib/
floatsisf.c 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even
49 rep_t round = (rep_t)a << (typeWidth - shift); local
50 if (round > signBit) result++;
51 if (round == signBit) result += result & 1;
floatunsisf.c 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even
41 rep_t round = (rep_t)a << (typeWidth - shift); local
42 if (round > signBit) result++;
43 if (round == signBit) result += result & 1;
divsf3.c 153 // code to round them correctly.
158 const bool round = (residual << 1) > bSignificand; local
163 // Round
164 absResult += round;
divdf3.c 168 // code to round them correctly.
173 const bool round = (residual << 1) > bSignificand; local
178 // Round
179 absResult += round;
  /frameworks/base/core/java/com/android/internal/util/
FastMath.java 25 * Fast round from float to int. This is faster than Math.round()
29 public static int round(float value) { method in class:FastMath
  /external/v8/tools/
generate-ten-powers.scm 56 (define (round-n-cut n e nb-bits)
58 (define (round n)
59 (case *round*
63 ;; with the -1 it will only round up if the cut off part is
68 ((round)
73 (cut (bit-rshbx (round n) shift))
77 (round-n-cut n (+fx e 1) nb-bits))))
80 (case *round*
83 ((round) (let ((tmp (/bx (*bx #z2 x) y)))
126 (round-n-cut n e nb-bits
    [all...]
  /frameworks/base/graphics/java/android/graphics/
RectF.java 435 public void round(Rect dst) { method in class:RectF
436 dst.set(FastMath.round(left), FastMath.round(top),
437 FastMath.round(right), FastMath.round(bottom));
  /external/srec/audio/AudioIn/UNIX/include/
filter.h 45 typeAccum round; // used for roundoff member in struct:fir_struct
  /external/libvpx/vp8/encoder/
quantize.c 28 short *round_ptr = b->round;
74 short *round_ptr = b->round;
113 short *round_ptr = b->round;
186 int round; local
192 round = dq >> 1;
196 x += round;
225 short *round_ptr = b->round;
block.h 40 short *round; member in struct:__anon8475
  /external/regex-re2/util/
benchmark.cc 83 static int round(int n) { function
113 n = round(n);
  /hardware/invensense/mlsdk/platform/include/
mlmath.h 34 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
70 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
SimpleBigDecimal.java 159 public BigInteger round() method in class:SimpleBigDecimal
  /external/webkit/Source/WebCore/platform/graphics/android/
ImageAndroid.cpp 158 static void round(SkIRect* dst, const WebCore::FloatRect& src) function in namespace:WebCore
256 round(&srcR, srcRect);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
dct.cpp 42 Int round; local
53 round = 1 << (FDCT_SHIFT - 1);
118 k1 = mla724(k12, k5, round);
119 k0 = mla724(k12, k2, round);
136 k1 = mla392(k0, k14, round);
213 k1 = mla724(k12, k5, round);
214 k0 = mla724(k12, k2, round);
231 k1 = mla392(k0, k14, round);
271 Int round; local
282 round = 1 << (FDCT_SHIFT - 1)
477 Int round; local
656 Int round; local
867 Int round; local
1054 Int round; local
    [all...]
fastquant.cpp 159 Int round = 1 << 15; local
224 coeff = aan_scale(q_value, coeff, round, QPdiv2);
278 Int round = 1 << 15; local
326 q_value = round + (coeff << 12);
383 q_value = smlabb(q_value, coeff, round);
553 Int round = 1 << 15; local
583 q_value = smlabb(q_value, coeff, round);
682 Int round = 1 << 15; local
708 q_value = round + (coeff << 12);
754 /* q_value = coeff*q_value + round */
    [all...]
  /external/dropbear/libtomcrypt/src/ciphers/safer/
safer.c 258 unsigned int round; local
268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS;
269 while(round-- > 0)
312 unsigned int round; local
322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS;
323 key += SAFER_BLOCK_LEN * (1 + 2 * round);
326 while (round--)
  /external/iproute2/ip/
ipneigh.c 382 int round = 0; local
390 while (round < MAX_ROUNDS) {
402 if (round == 0)
405 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":"");
410 round++;
414 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
  /external/jmonkeyengine/engine/src/android/jme3tools/android/
Fixed.java 135 * Value to add in order to round down a fixed point number when
392 * Math.round()</code> in the standard library.
394 public static int round(int n) { method in class:Fixed
  /external/qemu/
d3des.c 325 register int round; local
347 for( round = 0; round < 8; round++ ) {
  /external/webkit/Source/JavaScriptCore/wtf/
MathExtras.h 112 static double round(double num) function
126 inline long long llround(double num) { return static_cast<long long>(round(num)); }
128 inline long lround(double num) { return static_cast<long>(round(num)); }
  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutDirectionsTest.java 129 b.setWidth(Math.round(width));
  /libcore/luni/src/main/java/java/lang/
Math.java 368 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)}
723 * <li>{@code round(+0.0) = +0.0}</li>
724 * <li>{@code round(-0.0) = +0.0}</li>
725 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li>
726 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
727 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li>
728 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
729 * <li>{@code round(NaN) = +0.0}</li>
736 public static long round(double d) method in class:Math
763 public static int round(float f) { method in class:Math
    [all...]
StrictMath.java 373 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)}
724 * <li>{@code round(+0.0) = +0.0}</li>
725 * <li>{@code round(-0.0) = +0.0}</li>
726 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li>
727 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li>
728 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li>
729 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li>
730 * <li>{@code round(NaN) = +0.0}</li>
737 public static long round(double d) method in class:StrictMath
760 public static int round(float f) { method in class:StrictMath
    [all...]

Completed in 709 milliseconds

1 2 3 4