Home
last modified time | relevance | path

Searched full:floor (Results 1 – 25 of 6272) sorted by relevance

12345678910>>...251

/external/cronet/stable/third_party/icu/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"
153 format 0.0 floor "-1.00" "-1.0"
160 format 0.0 floor "-0.99" "-1.0"
167 format 0.0 floor "-0.98" "-1.0"
174 format 0.0 floor "-0.97" "-1.0"
[all …]
/external/cronet/tot/third_party/icu/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"
153 format 0.0 floor "-1.00" "-1.0"
160 format 0.0 floor "-0.99" "-1.0"
167 format 0.0 floor "-0.98" "-1.0"
174 format 0.0 floor "-0.97" "-1.0"
[all …]
/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"
153 format 0.0 floor "-1.00" "-1.0"
160 format 0.0 floor "-0.99" "-1.0"
167 format 0.0 floor "-0.98" "-1.0"
174 format 0.0 floor "-0.97" "-1.0"
[all …]
/external/jemalloc_new/test/unit/
Dextent_quantize.c60 size_t lextent_size, extent_size, floor, ceil; in TEST_BEGIN() local
68 floor = extent_size_quantize_floor(extent_size); in TEST_BEGIN()
71 assert_zu_eq(extent_size, floor, in TEST_BEGIN()
83 "Floor should be a precise size"); in TEST_BEGIN()
93 extent_size_prev = floor; in TEST_BEGIN()
109 size_t extent_size, floor, ceil; in TEST_BEGIN() local
112 floor = extent_size_quantize_floor(extent_size); in TEST_BEGIN()
115 assert_zu_le(floor, extent_size, in TEST_BEGIN()
116 "Floor should be <= (floor=%zu, extent_size=%zu, ceil=%zu)", in TEST_BEGIN()
117 floor, extent_size, ceil); in TEST_BEGIN()
[all …]
/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
59 ; GCN-UNSAFE-DAG: v_floor_f32_e32 [[FLOOR:v[0-9]+]], [[INPUT:v[0-9]+]]
62 ; GCN-UNSAFE: buffer_store_dword [[FLOOR]]
66 %floor.x = call float @llvm.floor.f32(float %x)
[all …]
Dffloor.ll7 ; R600: FLOOR
9 %tmp = call float @llvm.floor.f32(float %in) #0
19 %tmp = call <2 x float> @llvm.floor.v2f32(<2 x float> %in) #0
30 ; R600: FLOOR
31 ; R600: FLOOR
32 ; R600: FLOOR
33 ; R600: FLOOR
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
[all …]
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 …]
/external/libxml2/test/XPath/expr/
Dfunctions7 floor(0.1)
8 floor(-0.1)
9 floor(-0)
10 floor(0)
11 floor(5.2)
12 floor(-5.2)
13 floor(100000000000000000000)
14 floor(-100000000000000000000)
15 floor(0 div 0)
16 floor(1 div 0)
[all …]
/external/bazelbuild-rules_android/src/tools/enforce_min_sdk_floor/
Denforce_min_sdk_floor.py15 """AndroidManifest tool to enforce a floor on the minSdkVersion attribute.
17 Ensures that the minSdkVersion attribute is >= than the specified floor,
18 and if the attribute is either not specified or less than the floor,
19 sets it to the floor.
50 "Min SDK floor",
93 min_sdk_floor: int, the min SDK floor
97 - str: The xml contents of the manifest with the min SDK floor enforced.
99 than the floor.
103 return xml_content, "No min SDK floor specified. Manifest unchanged."
113 "No uses-sdk element found while floor is specified "
[all …]
/external/mpdecimal/tests/testdata_dist/
Dcov.decTest147 -- floor, ceil, trunc
154 floor10000 floor 0 -> 0
155 floor10001 floor 0.0 -> 0
156 floor10002 floor -0.0 -> -0
157 floor10003 floor 1e-200 -> 0
158 floor10004 floor -1e-200 -> -1
159 floor10005 floor 0.5 -> 0
160 floor10006 floor -0.5 -> -1
161 floor10007 floor 0.999999999999 -> 0
162 floor10008 floor -0.99999999999 -> -1
[all …]
/external/python/google-api-python-client/docs/dyn/
Dcontent_v2_1.repricingrules.html154floor.price_delta exists (3) floor.percentage_delta exists If floor.price_delta and floor.percenta…
155 …&quot;floor&quot;: { # Definition of a boundary. # The inclusive floor lower bound. The repricing …
156 …egative in floor. When it is used in floor, it should be &gt; -100. For example, if an offer is se…
157 …d is signed. It must be negative in floor. For example, if an offer is selling at $10 and this fie…
159 …et Repricer treatment, even if a floor value is set on the rule. Also, if use_auto_pricing_min_pri…
215floor.price_delta exists (3) floor.percentage_delta exists If floor.price_delta and floor.percenta…
216 …&quot;floor&quot;: { # Definition of a boundary. # The inclusive floor lower bound. The repricing …
217 …egative in floor. When it is used in floor, it should be &gt; -100. For example, if an offer is se…
218 …d is signed. It must be negative in floor. For example, if an offer is selling at $10 and this fie…
220 …et Repricer treatment, even if a floor value is set on the rule. Also, if use_auto_pricing_min_pri…
[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/sdv/vsomeip/third_party/boost/chrono/test/duration/
Drounding_pass.cpp16 #include <boost/chrono/floor.hpp>
26 BOOST_TEST_EQ( seconds(-2), floor<seconds>( milliseconds(-2000) ) ); in test_floor()
27 BOOST_TEST_EQ( seconds(-2), floor<seconds>( milliseconds(-1999) ) ); in test_floor()
28 BOOST_TEST_EQ( seconds(-2), floor<seconds>( milliseconds(-1001) ) ); in test_floor()
29 BOOST_TEST_EQ( seconds(-1), floor<seconds>( milliseconds(-1000) ) ); in test_floor()
30 BOOST_TEST_EQ( seconds(-1), floor<seconds>( milliseconds(-999) ) ); in test_floor()
31 BOOST_TEST_EQ( seconds(-1), floor<seconds>( milliseconds(-1) ) ); in test_floor()
32 BOOST_TEST_EQ( seconds(0), floor<seconds>( milliseconds(0) ) ); in test_floor()
33 BOOST_TEST_EQ( seconds(0), floor<seconds>( milliseconds(1) ) ); in test_floor()
34 BOOST_TEST_EQ( seconds(0), floor<seconds>( milliseconds(999) ) ); in test_floor()
[all …]
/external/skia/resources/sksl/intrinsics/
DFloor.sksl7 return (floor(testInputs.x) == expected.x &&
8 floor(testInputs.xy) == expected.xy &&
9 floor(testInputs.xyz) == expected.xyz &&
10 floor(testInputs.xyzw) == expected.xyzw &&
11 floor(constVal.x) == expected.x &&
12 floor(constVal.xy) == expected.xy &&
13 floor(constVal.xyz) == expected.xyz &&
14 floor(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/external/tensorflow/tensorflow/lite/kernels/
Dfloor.cc16 #include "tensorflow/lite/kernels/internal/reference/floor.h"
27 namespace floor { namespace
60 optimized_ops::Floor(GetTensorShape(input), GetTensorData<float>(input), in Eval()
63 reference_ops::Floor(GetTensorShape(input), GetTensorData<float>(input), in Eval()
69 } // namespace floor
73 /*free=*/nullptr, floor::Prepare, in Register_FLOOR_REF()
74 floor::Eval<floor::kReference>}; in Register_FLOOR_REF()
80 /*free=*/nullptr, floor::Prepare, in Register_FLOOR()
81 floor::Eval<floor::kGenericOptimized>}; in Register_FLOOR()
/external/tensorflow/tensorflow/core/lib/core/
Dbits.h24 // Return floor(log2(n)) for positive integer n. Returns -1 iff n == 0.
38 // Return floor(log2(n)) for positive integer n. Returns -1 iff n == 0.
41 // Return floor(log2(n)) for positive integer n. Returns -1 iff n == 0.
48 // Return floor(log2(n)) for positive integer n. Returns -1 iff n == 0.
65 // Return floor(log2(n)) for positive integer n. Returns -1 iff n == 0.
80 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()
[all …]
/external/armnn/src/armnn/test/optimizations/
DFp32NetworkToFp16ConverterTests.cpp26 auto floor = graph.AddLayer<armnn::FloorLayer>("floor"); variable
27 floor->GetOutputSlot().SetTensorInfo(infoFP32);
32 input->GetOutputSlot().Connect(floor->GetInputSlot(0));
33 floor->GetOutputSlot().Connect(output->GetInputSlot(0));
48 CHECK(floor->GetDataType() == armnn::DataType::Float16);
49 …CHECK(floor->GetInputSlot(0).GetConnectedOutputSlot()->GetTensorInfo().GetDataType() == armnn::Dat…
50 CHECK(floor->GetOutputSlot(0).GetTensorInfo().GetDataType() == armnn::DataType::Float16);
/external/libdisplay-info/
Dcvt.c47 h_pixels_rnd = floor(options->h_pixels / cell_gran) * cell_gran; in di_cvt_compute()
48 v_lines_rnd = options->int_rqd ? floor(options->v_lines / 2.0) : options->v_lines; in di_cvt_compute()
50 ? floor((h_pixels_rnd * MARGIN_PERC / 100.0) / cell_gran) * cell_gran in di_cvt_compute()
53 ? floor(MARGIN_PERC / 100.0 * v_lines_rnd) in di_cvt_compute()
98 v_sync_bp = floor(MIN_VSYNC_BP / h_period_est) + 1; in di_cvt_compute()
107 h_blank = floor(total_active_pixels * ideal_duty_cycle / in di_cvt_compute()
111 h_sync = floor(total_pixels * 0.08 / cell_gran) * cell_gran; in di_cvt_compute()
112 pixel_freq = floor(total_pixels / h_period_est / clock_step) * clock_step; in di_cvt_compute()
116 vbi_lines = floor(rb_min_vblank / h_period_est) + 1; in di_cvt_compute()
122 rb_v_bporch = floor(vbi_lines / 2.0); in di_cvt_compute()
[all …]
/external/skia/tests/sksl/intrinsics/
DMod.wgsl18 let _skTemp1 = _skTemp0 - 1.0 * floor(_skTemp0 / 1.0);
20 let _skTemp3 = _skTemp2 - 1.0 * floor(_skTemp2 / 1.0);
22 let _skTemp5 = _skTemp4 - 1.0 * floor(_skTemp4 / 1.0);
23 let _skTemp6 = _globalUniforms.testInputs - 1.0 * floor(_globalUniforms.testInputs / 1.0);
26 let _skTemp9 = _skTemp7 - _skTemp8 * floor(_skTemp7 / _skTemp8);
29 let _skTemp12 = _skTemp10 - _skTemp11 * floor(_skTemp10 / _skTemp11);
32 let _skTemp15 = _skTemp13 - _skTemp14 * floor(_skTemp13 / _skTemp14);
33 …let _skTemp16 = _globalUniforms.testInputs - _globalUniforms.colorWhite * floor(_globalUniforms.te…
DMod.metal39floor(_skTemp0 / _skTemp1)) == expectedA.x && all((_skTemp2 = _uniforms.testInputs.xy, _skTemp3 = …
/external/rust/android-crates-io/crates/libm/src/math/
Dfloor.rs6 /// Floor (f64)
10 pub fn floor(x: f64) -> f64 { in floor() function
12 // `f64.floor` native instruction, so we can leverage this for both code size in floor()
61 assert_eq!(floor(1.1), 1.0); in sanity_check()
62 assert_eq!(floor(2.9), 2.0); in sanity_check()
65 /// The spec: https://en.cppreference.com/w/cpp/numeric/math/floor
69 assert!(floor(NAN).is_nan()); in spec_tests()
71 assert_eq!(floor(f), f); in spec_tests()
/external/guava/android/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java21 import static java.math.RoundingMode.FLOOR;
97 .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN) in testRoundToDouble_oneThird()
107 .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN) in testRoundToDouble_halfMinDouble()
116 .setExpectation(-Double.MIN_VALUE, UP, FLOOR, HALF_UP) in testRoundToDouble_halfNegativeMinDouble()
136 .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN) in testRoundToDouble_maxPreciselyRepresentablePlusOne()
147 .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusOne()
158 .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusOneHalf()
169 .setExpectation(twoToThe54, DOWN, FLOOR) in testRoundToDouble_twoToThe54PlusThree()
189 .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN) in testRoundToDouble_maxDoublePlusOne()
198 .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN) in testRoundToDouble_wayTooBig()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java21 import static java.math.RoundingMode.FLOOR;
97 .setExpectation(0.3333333333333333, HALF_EVEN, FLOOR, DOWN, HALF_UP, HALF_DOWN) in testRoundToDouble_oneThird()
107 .setExpectation(0.0, HALF_EVEN, FLOOR, DOWN, HALF_DOWN) in testRoundToDouble_halfMinDouble()
116 .setExpectation(-Double.MIN_VALUE, UP, FLOOR, HALF_UP) in testRoundToDouble_halfNegativeMinDouble()
136 .setExpectation(twoToThe53, DOWN, FLOOR, HALF_DOWN, HALF_EVEN) in testRoundToDouble_maxPreciselyRepresentablePlusOne()
147 .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusOne()
158 .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN) in testRoundToDouble_twoToThe54PlusOneHalf()
169 .setExpectation(twoToThe54, DOWN, FLOOR) in testRoundToDouble_twoToThe54PlusThree()
189 .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN) in testRoundToDouble_maxDoublePlusOne()
198 .setExpectation(Double.MAX_VALUE, DOWN, FLOOR, HALF_EVEN, HALF_UP, HALF_DOWN) in testRoundToDouble_wayTooBig()
[all …]

12345678910>>...251