Home
last modified time | relevance | path

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

12345678910>>...16

/third_party/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 …]
/third_party/boost/libs/multiprecision/test/
Dtest_rat_float_interconv.cpp103 Rat delta, rounded; in do_round_trip() local
111 rounded = rat + delta; in do_round_trip()
112 new_f = static_cast<Float>(rounded); in do_round_trip()
114 rounded = rat - delta; in do_round_trip()
115 new_f = static_cast<Float>(rounded); in do_round_trip()
119 rounded = rat + delta; in do_round_trip()
120 new_f = static_cast<Float>(rounded); in do_round_trip()
122 rounded = rat - delta; in do_round_trip()
123 new_f = static_cast<Float>(rounded); in do_round_trip()
127 rounded = rat + delta; in do_round_trip()
[all …]
/third_party/icu/docs/userguide/format_parse/numbers/
Drounding-modes.md83 (shown dotted in the chart) are rounded to the nearest even digit. This is often
95 Values exactly on the 0.5 (half) mark are rounded down (next smaller absolute
100 Values exactly on the 0.5 (half) mark are rounded up (next larger absolute
105 All values are rounded towards the next smaller absolute value (rounded towards
113 All values are rounded towards the next greater absolute value (away from zero).
117 Values exactly on the 0.5 (half) mark are rounded toward positive infinity (+∞).
123 Values exactly on the 0.5 (half) mark are rounded towards negative infinity (-∞).
127 All values are rounded towards positive infinity (+∞). Also known as RI for
132 All values are rounded towards negative infinity (-∞). Also known as RMI for
/third_party/wayland_standard/doc/doxygen/dot/
Dx-architecture.gv21 …c1 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c1"]
22 …c3 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c3"]
24 …c2 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c2"]
28 …xserver [tooltip="X Server", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>X Server…
29 …comp [tooltip="Compositor", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>Composito…
32 …impl [tooltip="KMS evdev Kernel", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>KMS</TD>…
Dwayland-architecture.gv18 …c1 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>Wayland Client</TD></TR></TABLE>>, URL…
19 …c2 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>Wayland Client</TD></TR></TABLE>>, URL…
21 …comp [tooltip="Wayland Compositor", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>W…
23 …impl [tooltip="KMS evdev Kernel", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>KMS</TD>…
/third_party/skia/modules/skottie/src/layers/shapelayer/
DRoundCorners.cpp45 std::vector<sk_sp<sksg::GeometryNode>> rounded; in AttachRoundGeometryEffect() local
46 rounded.reserve(geos.size()); in AttachRoundGeometryEffect()
49 rounded.push_back( in AttachRoundGeometryEffect()
54 return rounded; in AttachRoundGeometryEffect()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dquantize.c151 uint64_t rounded = ((fraction >> (dMantissaBits - iMantissaBits)) + 1ull) >> 1; in QuantizeMultiplier() local
153 if (rounded == (1ull << iMantissaBits)) { in QuantizeMultiplier()
155 rounded >>= 1; in QuantizeMultiplier()
158 *quantized_multiplier = (dul.ul & dSignMask) ? (-(int32_t)(rounded)) : (int32_t)(rounded); in QuantizeMultiplier()
/third_party/flutter/skia/modules/pathkit/tests/
Deffects.spec.js102 let rounded = drawStar().stroke({
109 expect(stroked.equals(rounded)).toBe(false);
113 reportPath(rounded, 'stroke_round_square', done);
116 rounded.delete();
/third_party/skia/modules/pathkit/tests/
Deffects.spec.js102 let rounded = drawStar().stroke({
109 expect(stroked.equals(rounded)).toBe(false);
113 reportPath(rounded, 'stroke_round_square', done);
116 rounded.delete();
/third_party/ntfs-3g/libntfs-3g/
Dcompress.c1076 s32 rounded; in ntfs_comp_set() local
1141 rounded = ((compsz - 1) | (clsz - 1)) + 1; in ntfs_comp_set()
1142 memset(&outbuf[compsz], 0, rounded - compsz); in ntfs_comp_set()
1143 written = write_clusters(vol, rl, offs, rounded, outbuf); in ntfs_comp_set()
1144 if (written != rounded) { in ntfs_comp_set()
1630 s32 rounded; in ntfs_flush() local
1647 rounded = ((count - 1) | (clsz - 1)) + 1; in ntfs_flush()
1648 if (rounded > count) in ntfs_flush()
1649 memset(&outbuf[count], 0, rounded - count); in ntfs_flush()
1651 offs, rounded, outbuf); in ntfs_flush()
[all …]
/third_party/boost/libs/math/doc/distributions/
Dbackground.qbk56 /rounded outwards/. That is to say lower quantiles (where the probability is
57 less than 0.5) are rounded downward, and upper quantiles (where the probability
58 is greater than 0.5) are rounded upwards. This behaviour
63 This behaviour can be changed so that the quantile functions are rounded
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_opt_dce.c86 unsigned rounded = mir_round_bytemask_up(live[ins->dest], round_size); in midgard_opt_dead_code_eliminate_block() local
87 unsigned cmask = mir_from_bytemask(rounded, type_size); in midgard_opt_dead_code_eliminate_block()
/third_party/boost/libs/math/doc/background/
Derror.qbk28 follows: in the test programs, the test data is rounded to the target real type
31 either rounded up from the actual error, or rounded down (possibly to zero).
58 that the result has been rounded in the right direction. Of course, transcendental
/third_party/boost/libs/geometry/doc/generated/
Dbuffer_join_round.qbk19 Let the buffer create rounded corners.
22 This strategy can be used as JoinStrategy for the buffer algorithm. It creates a rounded corners ar…
Dbuffer_end_round.qbk19 Let the buffer create rounded ends.
22 This strategy can be used as EndStrategy for the buffer algorithm. It creates a rounded end for eac…
/third_party/protobuf/python/google/protobuf/internal/
Dtype_checkers.py88 rounded = float('{0:.{1}g}'.format(original, precision))
89 while TruncateToFourByteFloat(rounded) != original:
91 rounded = float('{0:.{1}g}'.format(original, precision))
92 return rounded
/third_party/skia/experimental/lowp-basic/
Dlerp-study.cpp66 int32_t rounded = temp + 32768; in full_res_lerp() local
67 return rounded >> 16; in full_res_lerp()
Dbilerp-study.cpp64 int64_t rounded = temp + (1LL << 31); in full_res_bilerp() local
65 return rounded >> 32; in full_res_bilerp()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_precision.txt140 a+b, a-b, a*b correctly rounded
143 a*b+c correctly rounded single operation or
144 sequence of two correctly rounded operations
151 conversions correctly rounded
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dcontinuous_rectangle_border.dart13 /// sides and the rounded corners.
29 /// * [RoundedRectangleBorder] Which creates rectangles with rounded corners,
30 /// however its straight sides change into a rounded corner with a circular
Drounded_rectangle_border.dart15 /// A rectangular border with rounded corners.
17 /// Typically used with [ShapeDecoration] to draw a box with a rounded
26 /// describe a rounded rectangle.
28 /// Creates a rounded rectangle border.
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dgeometry.dart283 /// operand (a double), rounded towards zero.
491 /// [double]), rounded towards zero.
999 /// operand (a double), rounded towards zero.
1068 /// An immutable rounded rectangle with the custom radii for all four corners.
1070 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1089 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1108 /// Construct a rounded rectangle from its bounding box and the same radii
1126 /// Construct a rounded rectangle from its bounding box and a radius that is
1144 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1172 /// Construct a rounded rectangle from its bounding box and and topLeft,
[all …]
/third_party/flutter/engine/flutter/lib/ui/
Dgeometry.dart279 /// operand (a double), rounded towards zero.
476 /// [double]), rounded towards zero.
955 /// operand (a double), rounded towards zero.
1017 /// An immutable rounded rectangle with the custom radii for all four corners.
1019 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1037 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1056 /// Construct a rounded rectangle from its bounding box and the same radii
1074 /// Construct a rounded rectangle from its bounding box and a radius that is
1092 /// Construct a rounded rectangle from its left, top, right, and bottom edges,
1120 /// Construct a rounded rectangle from its bounding box and and topLeft,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dinput_border.dart28 /// rounded rectangle around the input decorator's container.
132 /// rounded rectangle around the input decorator's container.
154 /// The radii of the border's rounded rectangle corners.
251 /// Draws a rounded rectangle around an [InputDecorator]'s container.
265 /// Creates a rounded rectangle outline border for an [InputDecorator].
313 /// The radii of the border's rounded rectangle corners.
452 /// Draw a rounded rectangle around [rect] using [borderRadius].
456 /// The top side of the rounded rectangle may be interrupted by a single gap

12345678910>>...16