HomeSort by relevance Sort by last modified time
    Searched refs:rounded (Results 26 - 50 of 152) sorted by null

12 3 4 5 6 7

  /prebuilts/go/darwin-x86/src/math/big/
floatmarsh.go 61 // The result is rounded per the precision and rounding mode of
110 // The result is rounded per the precision and rounding mode of z.
float.go 33 // be rounded to fit into the mantissa bits, and accuracy describes the
122 // RoundingMode determines how a Float value is rounded to the
152 // SetPrec sets z's precision to prec and returns the (possibly) rounded
436 // Make rounding decision: The result mantissa is truncated ("rounded down")
510 // SetUint64 sets z to the (possibly rounded) value of x and returns z.
517 // SetInt64 sets z to the (possibly rounded) value of x and returns z.
530 // SetFloat64 sets z to the (possibly rounded) value of x and returns z.
578 // SetInt sets z to the (possibly rounded) value of x and returns z.
602 // SetRat sets z to the (possibly rounded) value of x and returns z.
629 // Set sets z to the (possibly rounded) value of x and returns z
    [all...]
rat_test.go 548 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0)
552 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
585 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0)
589 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
ratconv.go 226 // digits of precision after the decimal point. The last digit is rounded to
227 // nearest, with halves rounded away from zero.
bits_test.go 146 f := z.Float() // rounded to zero
  /prebuilts/go/linux-x86/src/math/big/
floatmarsh.go 61 // The result is rounded per the precision and rounding mode of
110 // The result is rounded per the precision and rounding mode of z.
float.go 33 // be rounded to fit into the mantissa bits, and accuracy describes the
122 // RoundingMode determines how a Float value is rounded to the
152 // SetPrec sets z's precision to prec and returns the (possibly) rounded
436 // Make rounding decision: The result mantissa is truncated ("rounded down")
510 // SetUint64 sets z to the (possibly rounded) value of x and returns z.
517 // SetInt64 sets z to the (possibly rounded) value of x and returns z.
530 // SetFloat64 sets z to the (possibly rounded) value of x and returns z.
578 // SetInt sets z to the (possibly rounded) value of x and returns z.
602 // SetRat sets z to the (possibly rounded) value of x and returns z.
629 // Set sets z to the (possibly rounded) value of x and returns z
    [all...]
rat_test.go 548 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0)
552 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
585 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0)
589 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
ratconv.go 226 // digits of precision after the decimal point. The last digit is rounded to
227 // nearest, with halves rounded away from zero.
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
UserIconDrawable.java 376 Rect rounded = new Rect(); local
377 dstRect.round(rounded);
380 mUserDrawable.setBounds(rounded);
  /prebuilts/go/darwin-x86/src/go/types/
expr.go 186 // If rounded != nil, *rounded is set to the rounded value of x for
189 // It is ok to provide the addressof the first argument for rounded.
190 func representableConst(x constant.Value, conf *Config, typ *Basic, rounded *constant.Value) bool {
201 if rounded != nil {
202 *rounded = x
258 if rounded == nil {
263 *rounded = r
267 if rounded == nil
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
expr.go 186 // If rounded != nil, *rounded is set to the rounded value of x for
189 // It is ok to provide the addressof the first argument for rounded.
190 func representableConst(x constant.Value, conf *Config, typ *Basic, rounded *constant.Value) bool {
201 if rounded != nil {
202 *rounded = x
258 if rounded == nil {
263 *rounded = r
267 if rounded == nil
    [all...]
  /external/dng_sdk/source/
dng_matrix.cpp 278 real64 rounded = Round_int32 (fData [j] [k] * factor) * invFactor; local
280 error = fData [j] [k] - rounded;
282 fData [j] [k] = rounded;
  /external/skia/src/core/
SkRecorder.cpp 57 SkIRect rounded = bounds.roundOut(); local
58 this->resetCanvas(rounded.right(), rounded.bottom());
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 1547 final int rounded = Math.round(result); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
floatobject.c 1031 double wholepart; /* integral portion of x, rounded toward 0 */
1041 * double may yield an approximation, and if that's rounded up,
1069 /* version of _Py_double_round that uses the correctly-rounded string<->double
1085 double rounded, m; local
    [all...]
  /external/python/cpython2/Objects/
floatobject.c 1040 double wholepart; /* integral portion of x, rounded toward 0 */
1050 * double may yield an approximation, and if that's rounded up,
1078 /* version of _Py_double_round that uses the correctly-rounded string<->double
1094 double rounded, m; local
1103 rounded = round(x);
1104 if (fabs(rounded - x) == 0.5)
1106 rounded = x + (x > 0.0 ? 0.5 : -0.5);
1107 return PyFloat_FromDouble(rounded);
    [all...]
  /prebuilts/go/darwin-x86/src/sort/
search_test.go 60 // log2 computes the binary logarithm of x, rounded up to the next integer.
  /prebuilts/go/linux-x86/src/sort/
search_test.go 60 // log2 computes the binary logarithm of x, rounded up to the next integer.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
output.h 474 in bytes and ROUNDED is that size rounded up to the next
479 on the rounded size to align the decl. */
482 unsigned HOST_WIDE_INT rounded);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
Dfp.java 914 * @return rounded value
922 * @return rounded value
930 * @return rounded value
1048 Dfp rounded; local
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_vec4_visitor.cpp 541 dst_reg rounded(this, glsl_type::vec4_type);
542 emit(RNDE(rounded, src_reg(scaled)));
545 emit(MOV(u, src_reg(rounded)));
563 dst_reg rounded(this, glsl_type::vec4_type);
564 emit(RNDE(rounded, src_reg(scaled)));
567 emit(MOV(i, src_reg(rounded)));
    [all...]
  /external/libavc/common/arm/
ih264_default_weighted_pred_a9q.s 50 @* This function gets two ht x wd blocks, calculates their rounded-average and
224 @* This function gets two ht x wd blocks, calculates their rounded-average and
  /external/libvpx/libvpx/vpx_dsp/arm/
deblock_neon.c 395 const int16x8_t rounded = vaddq_s16(sum_s, rv); local
397 return vqshrun_n_s16(rounded, 4);
  /libcore/luni/src/test/java/libcore/java/math/
BigDecimalTest.java 69 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR)); local
70 assertEquals("0.99", rounded.toString());

Completed in 2497 milliseconds

12 3 4 5 6 7