/prebuilts/go/linux-x86/src/math/big/ |
decimal.go | 198 // exactly halfway - round to even 205 // round sets x to (at most) n mantissa digits by rounding it 208 func (x *decimal) round(n int) { func 232 // all digits are '9's => round up to '1' and update exponent
|
/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 | 442 public void round(Rect dst) { method in class:RectF 443 dst.set(FastMath.round(left), FastMath.round(top), 444 FastMath.round(right), FastMath.round(bottom));
|
/external/ceres-solver/internal/ceres/ |
parameter_block_ordering.cc | 97 int round = 0; local 104 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); 108 ++round;
|
/external/compiler-rt/lib/builtins/ |
divsf3.c | 154 // code to round them correctly. 159 const bool round = (residual << 1) > bSignificand; local 164 // Round 165 absResult += round;
|
divdf3.c | 169 // code to round them correctly. 174 const bool round = (residual << 1) > bSignificand; local 179 // Round 180 absResult += round;
|
divtf3.c | 186 // code to round them correctly. 190 const bool round = (residual << 1) >= bSignificand; local 195 // Round 196 absResult += round;
|
/external/libvpx/libvpx/test/ |
idct8x8_test.cc | 26 static int round(double x) { function in namespace:__anon17882 89 coeff[j] = round(output_r[j]);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ContextMenuBuilder.java | 115 helper.show(Math.round(x), Math.round(y));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpDec.java | 66 round(0); 74 round(0); 83 round(0); 165 protected int round(int in) { method in class:DfpDec 193 return super.round(in); 222 inc = (n != 0) || (discarded != 0); // round up if n!=0 226 inc = n >= 5; // round half up 230 inc = n > 5; // round half down 236 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 1); // round half-even 242 (n == 5 && discarded == 0 && ((lsb / lsbthreshold) & 1) == 0); // round half-od [all...] |
/external/deqp/framework/common/ |
tcuFloatFormat.cpp | 139 //! significand bits and minimum exponent of the floatformat. Round up if 141 double FloatFormat::round (double d, bool upward) const function in class:tcu::FloatFormat 190 // Round both bounds _inwards_ to closest representable values. 192 ret |= clampValue(round(tmp.lo(), true)) | clampValue(round(tmp.hi(), false)); 210 return round(d, upward); 213 //! Round output of an operation. 343 oss << "round(" << arg << ", false)"; 344 check(oss.str(), m_fmt->round(arg, false), refDown); 348 oss << "round(" << arg << ", true)" [all...] |
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_quantize_sse2.c | 41 __m128i round, quant, dequant; local 47 round = _mm_load_si128((const __m128i*)round_ptr); 68 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 69 round = _mm_unpackhi_epi64(round, round); 70 qcoeff1 = _mm_adds_epi16(qcoeff1, round); 139 qcoeff0 = _mm_adds_epi16(qcoeff0, round); 140 qcoeff1 = _mm_adds_epi16(qcoeff1, round);
|
/external/opencv3/apps/traincascade/ |
imagestorage.h | 45 size_t last, round; member in class:CvCascadeImageReader::NegReader
|
/external/regex-re2/util/ |
benchmark.cc | 83 static int round(int n) { function 113 n = round(n);
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
RendererCommonTest.java | 95 private static double[] round(float[] array) { method in class:RendererCommonTest 99 doubleArray[i] = Math.round(100 * array[i]) / 100.0; 120 0, 0, 0, 1}, round(layoutMatrix)); 133 1, 0, 0, 1}, round(layoutMatrix)); 148 0.25, 0, 0, 1}, round(layoutMatrix)); 161 MoreAsserts.assertEquals(round(matrix), round(rotatedMatrix)); method 174 1, 0, 0, 1}, round(samplingMatrix)); 187 1, 1, 0, 1}, round(samplingMatrix));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
transform.c | 44 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921 73 int32_t round = 1 << (-sh - 1); local 75 inre1Q9[k] = (int16_t)((tmpreQ16[k] + round) >> -sh); // Q(16+sh) 76 inre2Q9[k] = (int16_t)((tmpimQ16[k] + round) >> -sh); // Q(16+sh) 170 int32_t round = 1 << (-sh - 1); local 172 inreQ7[k] = (int16_t)((outre1Q16[k] + round) >> -sh); // Q(16+sh) 173 inimQ7[k] = (int16_t)((outre2Q16[k] + round) >> -sh); // Q(16+sh) 202 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
dct32x32_test.cc | 30 static int round(double x) { function in namespace:__anon31379 133 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 136 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 231 coeff[j] = round(out_r[j]);
|
idct8x8_test.cc | 27 static int round(double x) { function in namespace:__anon31385 105 output[i] = round(out2[i]/32); 126 coeff[j] = round(output_r[j]);
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
mlmath.h | 22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 22 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 58 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnimatorUtils.java | 122 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration()));
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
HorizontalGroup.java | 39 private boolean reverse, round = true; field in class:HorizontalGroup 71 if (round) { 72 prefWidth = Math.round(prefWidth); 73 prefHeight = Math.round(prefHeight); 80 boolean reverse = this.reverse, round = this.round; 112 if (round) 113 child.setBounds(Math.round(x), Math.round(y), Math.round(width), Math.round(height)) [all...] |
VerticalGroup.java | 35 private boolean reverse, round = true; field in class:VerticalGroup 67 if (round) { 68 prefWidth = Math.round(prefWidth); 69 prefHeight = Math.round(prefHeight); 76 boolean reverse = this.reverse, round = this.round; 108 if (round) 109 child.setBounds(Math.round(x), Math.round(y), Math.round(width), Math.round(height)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 153 public BigInteger round() method in class:SimpleBigDecimal
|
/external/icu/icu4c/source/i18n/ |
precision.cpp | 47 FixedPrecision::round( function in class:FixedPrecision 67 value.round(fSignificant.getMax()); 165 round(value, 0, status); 181 // If we have round increment, use digit list. 221 // If we have round increment, use digit list. 366 ScientificPrecision::round(DigitList &value, UErrorCode &status) const { function in class:ScientificPrecision 372 return fMantissa.round(value, exponent, status); 405 int64_t exponent = toScientific(round(value, status));
|