Home
last modified time | relevance | path

Searched refs:rounded (Results 1 – 25 of 138) sorted by relevance

123456

/external/mesa3d/include/
Dc99_math.h55 long int rounded = (long int)(d + 0.5); in lrint() local
58 if (rounded % 2 != 0) in lrint()
59 rounded += (d > 0) ? -1 : 1; in lrint()
62 return rounded; in lrint()
68 long int rounded = (long int)(f + 0.5f); in lrintf() local
71 if (rounded % 2 != 0) in lrintf()
72 rounded += (f > 0) ? -1 : 1; in lrintf()
75 return rounded; in lrintf()
81 long long int rounded = (long long int)(d + 0.5); in llrint() local
84 if (rounded % 2 != 0) in llrint()
[all …]
/external/valgrind/none/tests/s390x/
Drounding-4.stdout.exp2 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.000
[all …]
/external/v8/src/mips/
Dsimulator-mips.cc1254 float rounded) { in set_fpu_register_word_invalid_result() argument
1260 } else if (rounded > max_int32) { in set_fpu_register_word_invalid_result()
1262 } else if (rounded < min_int32) { in set_fpu_register_word_invalid_result()
1273 void Simulator::set_fpu_register_invalid_result(float original, float rounded) { in set_fpu_register_invalid_result() argument
1279 } else if (rounded > max_int32) { in set_fpu_register_invalid_result()
1281 } else if (rounded < min_int32) { in set_fpu_register_invalid_result()
1293 float rounded) { in set_fpu_register_invalid_result64() argument
1301 } else if (rounded >= max_int64) { in set_fpu_register_invalid_result64()
1303 } else if (rounded < min_int64) { in set_fpu_register_invalid_result64()
1315 double rounded) { in set_fpu_register_word_invalid_result() argument
[all …]
Dsimulator-mips.h207 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/
Dsimulator-mips64.cc1175 bool Simulator::set_fcsr_round_error(double original, double rounded) { in set_fcsr_round_error() argument
1180 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round_error()
1185 if (original != rounded) { in set_fcsr_round_error()
1189 if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { in set_fcsr_round_error()
1194 if (rounded > max_int32 || rounded < min_int32) { in set_fcsr_round_error()
1207 bool Simulator::set_fcsr_round64_error(double original, double rounded) { in set_fcsr_round64_error() argument
1214 if (!std::isfinite(original) || !std::isfinite(rounded)) { in set_fcsr_round64_error()
1219 if (original != rounded) { in set_fcsr_round64_error()
1223 if (rounded < DBL_MIN && rounded > -DBL_MIN && rounded != 0) { in set_fcsr_round64_error()
1228 if (rounded >= max_int64 || rounded < min_int64) { in set_fcsr_round64_error()
[all …]
Dsimulator-mips64.h217 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 …]
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
Droundup.c26 unsigned rounded = ((unsigned) 0x80000000) >> lz; in roundup() local
28 if (v > rounded && lz > 0) { in roundup()
29 rounded <<= 1; in roundup()
31 return rounded; in roundup()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DUtilities.java50 int rounded = 0x80000000 >>> lz; in roundup() local
52 if (size > rounded && lz > 0) { in roundup()
53 rounded <<= 1; in roundup()
55 return rounded; in roundup()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dalignment.ll3 ; This cannot get rounded up to the preferred alignment (16) if they have an
13 ; Common variables should not get rounded up to the preferred alignment (16) if
27 ; This cannot get rounded up to the preferred alignment (16) if they have an
36 ; Common variables should not get rounded up to the preferred alignment (16) if
/external/llvm/test/CodeGen/X86/
Dalignment.ll3 ; This cannot get rounded up to the preferred alignment (16) if they have an
13 ; Common variables should not get rounded up to the preferred alignment (16) if
27 ; This cannot get rounded up to the preferred alignment (16) if they have an
36 ; Common variables should not get rounded up to the preferred alignment (16) if
/external/python/cpython2/Doc/tutorial/
Dfloatingpoint.rst72 of digits manageable by displaying a rounded value instead ::
106 Since this approximation is slightly closer to 2.67 than to 2.68, it's rounded
110 are rounded, you should consider using the :mod:`decimal` module.
188 The best possible value for *J* is then that quotient rounded::
205 Note that since we rounded up, this is actually a little bit larger than 1/10;
206 if we had not rounded up, the quotient would have been a little bit smaller
223 Python 2.7 and Python 3.1, Python rounded this value to 17 significant digits,
/external/testng/src/main/resources/
Dtestng-reports.css67 .rounded-window {
73 .rounded-window-top {
81 .light-rounded-window-top {
86 .rounded-window-bottom {
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java168 final BigDecimal rounded = v.setScale(ref.scale(), mode); in message() local
171 rounded.toPlainString(), minmax, ref.toPlainString()); in message()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassHeaderReader.java145 int rounded = (int)(CHUNK * Math.ceil((float)amount / CHUNK)); in buffer() local
146 bsize += read(in, b, bsize, rounded - bsize); in buffer()
/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); in interpolateChannel() local
82 DE_ASSERT(de::inRange<deUint32>(rounded, 0, 0xff)); in interpolateChannel()
83 return (deUint8)rounded; in interpolateChannel()
/external/eigen/bench/btl/data/
Dmk_new_gnuplot.sh21 echo set term postscript color rounded enhanced >> $WHAT.gnuplot
/external/python/cpython2/Lib/test/decimaltestdata/
Dabs.decTest105 -- next is rounded to Emin
118 -- next is rounded to Emin
Dminus.decTest126 -- next is rounded to Emin
139 -- next is rounded to Emin
Dplus.decTest137 -- next is rounded to Emin
150 -- next is rounded to Emin
Dreduce.decTest165 -- next is rounded to Emin
178 -- next is rounded to Emin
/external/python/cpython2/Objects/
Dfloatobject.c1094 double rounded, m; in _Py_double_round() local
1103 rounded = round(x); in _Py_double_round()
1104 if (fabs(rounded - x) == 0.5) in _Py_double_round()
1106 rounded = x + (x > 0.0 ? 0.5 : -0.5); in _Py_double_round()
1107 return PyFloat_FromDouble(rounded); in _Py_double_round()
1212 rounded = _Py_dg_strtod(mybuf, NULL); in _Py_double_round()
1214 if (errno == ERANGE && fabs(rounded) >= 1.) in _Py_double_round()
1218 result = PyFloat_FromDouble(rounded); in _Py_double_round()
/external/skia/src/core/
DSkRecorder.cpp57 SkIRect rounded = bounds.roundOut(); in reset() local
58 this->resetCanvas(rounded.right(), rounded.bottom()); in reset()
/external/dng_sdk/source/
Ddng_matrix.cpp278 real64 rounded = Round_int32 (fData [j] [k] * factor) * invFactor; in SafeRound() local
280 error = fData [j] [k] - rounded; in SafeRound()
282 fData [j] [k] = rounded; in SafeRound()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfp.java1048 Dfp rounded; in intValue() local
1051 rounded = rint(); in intValue()
1053 if (rounded.greaterThan(newInstance(2147483647))) { in intValue()
1057 if (rounded.lessThan(newInstance(-2147483648))) { in intValue()
1061 for (int i = mant.length - 1; i >= mant.length - rounded.exp; i--) { in intValue()
1062 result = result * RADIX + rounded.mant[i]; in intValue()
1065 if (rounded.sign == -1) { in intValue()
/external/fmtlib/doc/bootstrap/
Dtheme.less39 ….reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see h…
148 // Undo rounded corners in static and fixed navbars

123456