/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
roundup.c | 26 unsigned rounded = ((unsigned) 0x80000000) >> lz; local 27 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 28 if (v > rounded && lz > 0) { 29 rounded <<= 1; 31 return rounded;
|
/system/media/audio_utils/ |
roundup.c | 26 unsigned rounded = ((unsigned) 0x80000000) >> lz; local 27 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 28 if (v > rounded && lz > 0) { 29 rounded <<= 1; 31 return rounded;
|
/external/valgrind/none/tests/s390x/ |
rounding-4.stdout.exp | 2 load rounded d = 12345678.250 f = 12345678.000 4 load rounded d = 12345678.250 f = 12345678.000 6 load rounded d = 12345678.250 f = 12345679.000 8 load rounded d = 12345678.250 f = 12345678.000 11 load rounded d = 12345678.750 f = 12345679.000 13 load rounded d = 12345678.750 f = 12345678.000 15 load rounded d = 12345678.750 f = 12345679.000 17 load rounded d = 12345678.750 f = 12345678.000 20 load rounded d = -12345678.250 f = -12345678.000 22 load rounded d = -12345678.250 f = -12345678.00 [all...] |
/bionic/libc/bionic/ |
mremap.cpp | 41 size_t rounded = BIONIC_ALIGN(new_size, PAGE_SIZE); local 42 if (rounded < new_size || rounded > PTRDIFF_MAX) {
|
mmap.cpp | 51 size_t rounded = BIONIC_ALIGN(size, PAGE_SIZE); local 52 if (rounded < size || rounded > PTRDIFF_MAX) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
PipeShort.java | 32 // maxBytes will be rounded up to a power of 2, and all slots are available. Must be >= 2. 132 int rounded = 0x80000000 >>> lz; local 133 // 0x800000001 and higher are actually rounded _down_ to prevent overflow 134 if (v > rounded && lz > 0) { 135 rounded <<= 1; 137 return rounded;
|
/external/v8/src/mips/ |
simulator-mips.cc | 2608 double rounded; local 2618 double rounded = std::floor(fs + 0.5); local 2632 double rounded = trunc(fs); local 2641 double rounded = std::floor(fs); local 2650 double rounded = std::ceil(fs); local 2663 double rounded; local 2677 double rounded = trunc(fs); local 2691 double rounded = std::floor(fs + 0.5); local 2711 double rounded = std::floor(fs); local 2725 double rounded = std::ceil(fs); local 3151 float rounded = trunc(fs); local 3160 float rounded = trunc(fs); local 3174 float rounded = std::floor(fs); local 3183 float rounded = std::floor(fs); local 3196 float rounded = std::floor(fs + 0.5); local 3211 float rounded = std::floor(fs + 0.5); local 3231 float rounded = std::ceil(fs); local 3240 float rounded = std::ceil(fs); local 3271 float rounded; local 3283 float rounded; local [all...] |
simulator-mips.h | 207 void set_fpu_register_invalid_result64(float original, float rounded); 208 void set_fpu_register_invalid_result(float original, float rounded); 209 void set_fpu_register_word_invalid_result(float original, float rounded); 210 void set_fpu_register_invalid_result64(double original, double rounded); 211 void set_fpu_register_invalid_result(double original, double rounded); 212 void set_fpu_register_word_invalid_result(double original, double rounded); 223 bool set_fcsr_round_error(double original, double rounded); 224 bool set_fcsr_round_error(float original, float rounded); 225 bool set_fcsr_round64_error(double original, double rounded); 226 bool set_fcsr_round64_error(float original, float rounded); [all...] |
/external/v8/src/mips64/ |
simulator-mips64.cc | 2617 float rounded; local 2627 float rounded; local 2637 float rounded = trunc(fs); local 2645 float rounded = trunc(fs); local 2654 float rounded = std::floor(fs + 0.5); local 2668 float rounded = std::floor(fs + 0.5); local 2683 float rounded = floor(fs); local 2693 float rounded = std::floor(fs); local 2702 float rounded = std::ceil(fs); local 2710 float rounded = ceil(fs); local 2972 double rounded; local 2983 double rounded = std::floor(fs + 0.5); local 2997 double rounded = trunc(fs); local 3006 double rounded = std::floor(fs); local 3015 double rounded = std::ceil(fs); local 3026 double rounded; local 3036 double rounded = std::floor(fs + 0.5); local 3051 double rounded = trunc(fs); local 3060 double rounded = floor(fs); local 3069 double rounded = ceil(fs); local [all...] |
simulator-mips64.h | 217 void set_fpu_register_invalid_result64(float original, float rounded); 218 void set_fpu_register_invalid_result(float original, float rounded); 219 void set_fpu_register_word_invalid_result(float original, float rounded); 220 void set_fpu_register_invalid_result64(double original, double rounded); 221 void set_fpu_register_invalid_result(double original, double rounded); 222 void set_fpu_register_word_invalid_result(double original, double rounded); 231 bool set_fcsr_round_error(double original, double rounded); 232 bool set_fcsr_round64_error(double original, double rounded); 233 bool set_fcsr_round_error(float original, float rounded); 234 bool set_fcsr_round64_error(float original, float rounded); [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug470.go | 21 // 0.01 rounded to float32 then to float64 is F32.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug470.go | 21 // 0.01 rounded to float32 then to float64 is F32.
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
strtod.h | 191 DiyFp rounded(v.f >> precisionSize, v.e + static_cast<int>(precisionSize)); 195 rounded.f++; 196 if (rounded.f & (DiyFp::kDpHiddenBit << 1)) { // rounding overflows mantissa (issue #340) 197 rounded.f >>= 1; 198 rounded.e++; 202 *result = rounded.ToDouble();
|
/prebuilts/go/darwin-x86/src/runtime/ |
msize.go | 20 // the size divided by 8 (rounded up). Objects >= 1024 bytes 22 // size divided by 128 (rounded up). The arrays are constants
|
/prebuilts/go/linux-x86/src/runtime/ |
msize.go | 20 // the size divided by 8 (rounded up). Objects >= 1024 bytes 22 // size divided by 128 (rounded up). The arrays are constants
|
/prebuilts/go/darwin-x86/src/math/big/ |
float_test.go | 429 x, zero, neven, naway, away string // input, results rounded to prec bits 839 {"1.401298464e-45", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 840 {"0x.ffffff8p-149", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 841 {"0x.0000018p-126", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 850 {"0x0.0000010p-126", math.Float32frombits(0x00000000), Below}, // rounded down to even 851 {"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 852 {"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 859 {"0x0.8p-149", math.Float32frombits(0x000000000), Below}, // rounded down to even 860 {"0x0.9p-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal 861 {"0x0.ap-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denorma [all...] |
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...] |
/prebuilts/go/linux-x86/src/math/big/ |
float_test.go | 429 x, zero, neven, naway, away string // input, results rounded to prec bits 839 {"1.401298464e-45", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 840 {"0x.ffffff8p-149", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 841 {"0x.0000018p-126", math.SmallestNonzeroFloat32, Above}, // rounded up to smallest denormal 850 {"0x0.0000010p-126", math.Float32frombits(0x00000000), Below}, // rounded down to even 851 {"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 852 {"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal 859 {"0x0.8p-149", math.Float32frombits(0x000000000), Below}, // rounded down to even 860 {"0x0.9p-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denormal 861 {"0x0.ap-149", math.Float32frombits(0x000000001), Above}, // rounded up to smallest denorma [all...] |
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...] |
/external/eigen/bench/btl/data/ |
mk_new_gnuplot.sh | 21 echo set term postscript color rounded enhanced >> $WHAT.gnuplot 24 # echo set term svg color rounded enhanced >> $WHAT.gnuplot
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/ |
Limit.java | 168 final BigDecimal rounded = v.setScale(ref.scale(), mode); local 171 rounded.toPlainString(), minmax, ref.toPlainString());
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
ClassHeaderReader.java | 145 int rounded = (int)(CHUNK * Math.ceil((float)amount / CHUNK)); local 146 bsize += read(in, b, bsize, rounded - bsize);
|
/external/deqp/framework/common/ |
tcuBilinearImageCompare.cpp | 80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); local 82 DE_ASSERT(de::inRange<deUint32>(rounded, 0, 0xff)); 83 return (deUint8)rounded;
|