Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 921) sorted by relevance

12345678910>>...37

/external/icu/icu4c/source/test/testdata/
Ddcfmtest.txt34 # floor
74 format 0.00 floor "32.045" "32.04"
83 format 0.00 floor "-32.045" "-32.05"
92 format @@@ floor "1235.00" "1230"
101 format @@@ floor "-1235.00" "-1240"
110 format 0.000E0 floor "12345" "1.234E4"
145 format 0.0 floor "-1.00" "-1.0"
152 format 0.0 floor "-0.99" "-1.0"
159 format 0.0 floor "-0.98" "-1.0"
166 format 0.0 floor "-0.97" "-1.0"
[all …]
/external/libxml2/test/XPath/expr/
Dfunctions6 floor(0.1)
7 floor(-0.1)
8 floor(-0)
9 floor(0)
10 floor(5.2)
11 floor(-5.2)
12 floor(100000000000000000000)
13 floor(-100000000000000000000)
14 floor(0 div 0)
15 floor(1 div 0)
[all …]
Dfloats40 1 div floor(0.1)
41 1 div floor(-0.1)
42 1 div floor(-0)
43 1 div floor(0)
/external/llvm/test/CodeGen/AMDGPU/
Dcvt_flr_i32_f32.ll6 declare float @llvm.floor.f32(float) #1
14 %floor = call float @llvm.floor.f32(float %x) #1
15 %cvt = fptosi float %floor to i32
27 %floor = call float @llvm.floor.f32(float %fadd) #1
28 %cvt = fptosi float %floor to i32
40 %floor = call float @llvm.floor.f32(float %x.fabs) #1
41 %cvt = fptosi float %floor to i32
53 %floor = call float @llvm.floor.f32(float %x.fneg) #1
54 %cvt = fptosi float %floor to i32
67 %floor = call float @llvm.floor.f32(float %x.fabs.fneg) #1
[all …]
Dcvt_rpi_i32_f32.ll6 declare float @llvm.floor.f32(float) #1
14 %floor = call float @llvm.floor.f32(float %fadd) #1
15 %cvt = fptosi float %floor to i32
27 %floor = call float @llvm.floor.f32(float %fadd) #1
28 %cvt = fptosi float %floor to i32
43 %floor = call float @llvm.floor.f32(float %fadd) #1
44 %cvt = fptosi float %floor to i32
62 %floor = call float @llvm.floor.f32(float %fadd) #1
63 %cvt = fptosi float %floor to i32
76 %floor = call float @llvm.floor.f32(float %fadd) #1
[all …]
Dfract.ll8 declare float @llvm.floor.f32(float) #0
19 %floor.x = call float @llvm.floor.f32(float %x)
20 %fract = fsub float %x, %floor.x
35 %floor.x.neg = call float @llvm.floor.f32(float %x.neg)
36 %fract = fsub float %x.neg, %floor.x.neg
52 %floor.neg.abs.x = call float @llvm.floor.f32(float %neg.abs.x)
53 %fract = fsub float %neg.abs.x, %floor.neg.abs.x
66 %floor.x = call float @llvm.floor.f32(float %x)
67 %fract = fsub float %x, %floor.x
68 store volatile float %floor.x, float addrspace(1)* %out
Dffloor.f64.ll6 declare double @llvm.floor.f64(double) nounwind readnone
7 declare <2 x double> @llvm.floor.v2f64(<2 x double>) nounwind readnone
8 declare <3 x double> @llvm.floor.v3f64(<3 x double>) nounwind readnone
9 declare <4 x double> @llvm.floor.v4f64(<4 x double>) nounwind readnone
10 declare <8 x double> @llvm.floor.v8f64(<8 x double>) nounwind readnone
11 declare <16 x double> @llvm.floor.v16f64(<16 x double>) nounwind readnone
23 %y = call double @llvm.floor.f64(double %x) nounwind readnone
39 %y = call double @llvm.floor.f64(double %neg) nounwind readnone
56 %y = call double @llvm.floor.f64(double %neg) nounwind readnone
65 %y = call <2 x double> @llvm.floor.v2f64(<2 x double> %x) nounwind readnone
[all …]
Dfract.f64.ll9 declare double @llvm.floor.f64(double) #0
32 %floor.x = call double @llvm.floor.f64(double %x)
33 %fract = fsub double %x, %floor.x
60 %floor.neg.x = call double @llvm.floor.f64(double %neg.x)
61 %fract = fsub double %neg.x, %floor.neg.x
89 %floor.neg.abs.x = call double @llvm.floor.f64(double %neg.abs.x)
90 %fract = fsub double %neg.abs.x, %floor.neg.abs.x
103 %floor.x = call double @llvm.floor.f64(double %x)
104 %fract = fsub double %x, %floor.x
105 store volatile double %floor.x, double addrspace(1)* %out
Dffloor.ll9 %tmp = call float @llvm.floor.f32(float %in) #0
19 %tmp = call <2 x float> @llvm.floor.v2f32(<2 x float> %in) #0
35 %tmp = call <4 x float> @llvm.floor.v4f32(<4 x float> %in) #0
41 declare float @llvm.floor.f32(float) #0
44 declare <2 x float> @llvm.floor.v2f32(<2 x float>) #0
47 declare <4 x float> @llvm.floor.v4f32(<4 x float>) #0
/external/jemalloc/test/unit/
Drun_quantize.c60 size_t lrun_size, run_size, floor, ceil; in TEST_BEGIN() local
67 floor = run_quantize_floor(run_size); in TEST_BEGIN()
70 assert_zu_eq(run_size, floor, in TEST_BEGIN()
88 run_size_prev = floor; in TEST_BEGIN()
115 size_t run_size, floor, ceil; in TEST_BEGIN() local
118 floor = run_quantize_floor(run_size); in TEST_BEGIN()
121 assert_zu_le(floor, run_size, in TEST_BEGIN()
123 floor, run_size, ceil); in TEST_BEGIN()
126 floor, run_size, ceil); in TEST_BEGIN()
128 assert_zu_le(floor_prev, floor, "Floor should be monotonic " in TEST_BEGIN()
[all …]
/external/llvm/test/CodeGen/ARM/
Dtail-call-builtin.ll5 ; CHECK: bl floor
8 %val = tail call double @floor(double %in)
15 ; CHECK: b floor
17 %val = tail call double @floor(double %in)
23 ; CHECK-NOT: bl floor
25 %val = tail call double @floor(double %in)
31 ; CHECK: bl floor
33 %val = tail call double @floor(double %in)
37 declare double @floor(double) nounwind readonly
/external/libxml2/result/XPath/expr/
Dfunctions23 Expression: floor(0.1)
27 Expression: floor(-0.1)
31 Expression: floor(-0)
35 Expression: floor(0)
39 Expression: floor(5.2)
43 Expression: floor(-5.2)
47 Expression: floor(100000000000000000000)
51 Expression: floor(-100000000000000000000)
55 Expression: floor(0 div 0)
59 Expression: floor(1 div 0)
[all …]
/external/protobuf/js/binary/
Dencoder.js84 goog.asserts.assert(lowBits == Math.floor(lowBits));
85 goog.asserts.assert(highBits == Math.floor(highBits));
108 goog.asserts.assert(value == Math.floor(value));
127 goog.asserts.assert(value == Math.floor(value));
156 goog.asserts.assert(value == Math.floor(value));
172 goog.asserts.assert(value == Math.floor(value));
187 goog.asserts.assert(value == Math.floor(value));
201 goog.asserts.assert(value == Math.floor(value));
216 goog.asserts.assert(value == Math.floor(value));
228 goog.asserts.assert(value == Math.floor(value));
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dbits.h80 int floor = Log2Floor(n); in Log2Ceiling() local
82 return floor; in Log2Ceiling()
84 return floor + 1; in Log2Ceiling()
88 int floor = Log2Floor64(n); in Log2Ceiling64() local
90 return floor; in Log2Ceiling64()
92 return floor + 1; in Log2Ceiling64()
/external/ImageMagick/coders/
Dlabel.c139 image->columns=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage()
140 image->rows=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); in ReadLABELImage()
161 width=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage()
162 height=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); in ReadLABELImage()
182 width=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage()
183 height=(size_t) floor(metrics.height+draw_info->stroke_width+0.5); in ReadLABELImage()
208 image->columns=(size_t) floor(metrics.width+draw_info->stroke_width+0.5); in ReadLABELImage()
210 image->columns=(size_t) floor(draw_info->pointsize+draw_info->stroke_width+ in ReadLABELImage()
213 image->rows=(size_t) floor(metrics.ascent-metrics.descent+ in ReadLABELImage()
216 image->rows=(size_t) floor(draw_info->pointsize+draw_info->stroke_width+ in ReadLABELImage()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DAbstractIntegerDistribution.java70 return cumulativeProbability((int) FastMath.floor(x)); in cumulativeProbability()
93 if (FastMath.floor(x0) < x0) { in cumulativeProbability()
94 return cumulativeProbability(((int) FastMath.floor(x0)) + 1, in cumulativeProbability()
95 (int) FastMath.floor(x1)); // don't want to count mass below x0 in cumulativeProbability()
97 return cumulativeProbability((int) FastMath.floor(x0), in cumulativeProbability()
98 (int) FastMath.floor(x1)); in cumulativeProbability()
126 double fl = FastMath.floor(x); in probability()
/external/libmojo/ui/gfx/geometry/
Drect.h279 std::floor(rect.x() * x_scale))); in ScaleToEnclosingRect()
281 std::floor(rect.y() * y_scale))); in ScaleToEnclosingRect()
286 int x = static_cast<int>(std::floor(rect.x() * x_scale)); in ScaleToEnclosingRect()
287 int y = static_cast<int>(std::floor(rect.y() * y_scale)); in ScaleToEnclosingRect()
306 int x = base::saturated_cast<int>(std::floor(rect.x() * x_scale)); in ScaleToEnclosingRectSafe()
307 int y = base::saturated_cast<int>(std::floor(rect.y() * y_scale)); in ScaleToEnclosingRectSafe()
327 std::floor(rect.right() * x_scale))); in ScaleToEnclosedRect()
329 std::floor(rect.bottom() * y_scale))); in ScaleToEnclosedRect()
333 x : static_cast<int>(std::floor(rect.right() * x_scale)); in ScaleToEnclosedRect()
335 y : static_cast<int>(std::floor(rect.bottom() * y_scale)); in ScaleToEnclosedRect()
Dsafe_integer_conversions.h17 return base::saturated_cast<int>(std::floor(value)); in ToFlooredInt()
25 return base::saturated_cast<int>(std::floor(value)); in ToFlooredInt()
35 rounded = std::floor(value + 0.5f); in ToRoundedInt()
44 rounded = std::floor(value + 0.5); in ToRoundedInt()
/external/replicaisland/tools/
DExtractPoints.js119 var column = Math.floor(tile.centerX / tileSizeX);
120 var row = Math.floor(tile.centerY / tileSizeY);
128 var tileIndex = Math.floor(row * tilesPerRow + column);
176 outputString += x + ":" + Math.floor(edge.startX) + "," +
177 Math.floor(edge.startY) + ":" + Math.floor(edge.endX) + "," +
178 Math.floor(edge.endY) + ":" + edge.normalX + "," + edge.normalY +
221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX;
222 var offsetY = Math.floor(x / tilesPerRow) * tileSizeY;
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
Dfloor.pass.cpp29 typedef decltype(std::chrono::floor<ToDuration>(f)) R; in test()
31 assert(std::chrono::floor<ToDuration>(f) == d); in test()
45 …constexpr std::chrono::hours h1 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds… in main()
47 …constexpr std::chrono::hours h2 = std::chrono::floor<std::chrono::hours>(std::chrono::milliseconds… in main()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DNavigableSetNavigationTester.java86 assertNull(navigableSet.floor(samples.e0)); in testEmptySetNearby()
107 assertEquals(a, navigableSet.floor(samples.e0)); in testSingletonSetNearby()
147 assertEquals(a, navigableSet.floor(a)); in testFloorHole()
148 assertEquals(a, navigableSet.floor(b)); in testFloorHole()
149 assertEquals(c, navigableSet.floor(c)); in testFloorHole()
182 assertEquals(a, navigableSet.floor(a)); in testFloor()
183 assertEquals(b, navigableSet.floor(b)); in testFloor()
184 assertEquals(c, navigableSet.floor(c)); in testFloor()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_floor.cc19 REGISTER3(UnaryOp, CPU, "Floor", functor::floor, float, Eigen::half, double);
22 REGISTER3(UnaryOp, GPU, "Floor", functor::floor, float, Eigen::half, double);
25 REGISTER2(UnaryOp, SYCL, "Floor", functor::floor, float, double);
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll60 ; Test floor for f32.
61 declare float @llvm.floor.f32(float %f)
66 %res = call float @llvm.floor.f32(float %f)
70 ; Test floor for f64.
71 declare double @llvm.floor.f64(double %f)
74 ; CHECK: brasl %r14, floor@PLT
76 %res = call double @llvm.floor.f64(double %f)
80 ; Test floor for f128: omitted for now because we cannot handle
/external/pdfium/fxjs/
DJS_Define.cpp61 return (int)(365 * (y - 1970.0) + floor((y - 1969.0) / 4) - in DayFromYear()
62 floor((y - 1901.0) / 100) + floor((y - 1601.0) / 400)); in DayFromYear()
80 return static_cast<int>(floor(t / 86400000.0)); in Day()
196 return (int)Mod(floor(dt / (60 * 60 * 1000)), 24); in JS_GetHourFromTime()
200 return (int)Mod(floor(dt / (60 * 1000)), 60); in JS_GetMinFromTime()
204 return (int)Mod(floor(dt / 1000), 60); in JS_GetSecFromTime()
254 double ym = y + floor(m / 12); in JS_MakeDay()
/external/llvm/test/CodeGen/PowerPC/
Dvec_rounding.ll9 declare <2 x double> @llvm.floor.v2f64(<2 x double> %p)
12 %t = call <2 x double> @llvm.floor.v2f64(<2 x double> %p)
19 declare <4 x double> @llvm.floor.v4f64(<4 x double> %p)
22 %t = call <4 x double> @llvm.floor.v4f64(<4 x double> %p)
98 declare <4 x float> @llvm.floor.v4f32(<4 x float> %p)
101 %t = call <4 x float> @llvm.floor.v4f32(<4 x float> %p)
107 declare <8 x float> @llvm.floor.v8f32(<8 x float> %p)
110 %t = call <8 x float> @llvm.floor.v8f32(<8 x float> %p)

12345678910>>...37