Home
last modified time | relevance | path

Searched full:ceil (Results 1 – 25 of 2688) sorted by relevance

12345678910>>...108

/external/llvm/test/CodeGen/AMDGPU/
Dfceil.ll5 declare float @llvm.ceil.f32(float) nounwind readnone
6 declare <2 x float> @llvm.ceil.v2f32(<2 x float>) nounwind readnone
7 declare <3 x float> @llvm.ceil.v3f32(<3 x float>) nounwind readnone
8 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) nounwind readnone
9 declare <8 x float> @llvm.ceil.v8f32(<8 x float>) nounwind readnone
10 declare <16 x float> @llvm.ceil.v16f32(<16 x float>) nounwind readnone
15 ; EG: CEIL {{\*? *}}[[RESULT]]
17 %y = call float @llvm.ceil.f32(float %x) nounwind readnone
26 ; EG: CEIL {{\*? *}}[[RESULT]]
27 ; EG: CEIL {{\*? *}}[[RESULT]]
[all …]
Dfceil64.ll5 declare double @llvm.ceil.f64(double) nounwind readnone
6 declare <2 x double> @llvm.ceil.v2f64(<2 x double>) nounwind readnone
7 declare <3 x double> @llvm.ceil.v3f64(<3 x double>) nounwind readnone
8 declare <4 x double> @llvm.ceil.v4f64(<4 x double>) nounwind readnone
9 declare <8 x double> @llvm.ceil.v8f64(<8 x double>) nounwind readnone
10 declare <16 x double> @llvm.ceil.v16f64(<16 x double>) nounwind readnone
33 %y = call double @llvm.ceil.f64(double %x) nounwind readnone
42 %y = call <2 x double> @llvm.ceil.v2f64(<2 x double> %x) nounwind readnone
52 ; %y = call <3 x double> @llvm.ceil.v3f64(<3 x double> %x) nounwind readnone
63 %y = call <4 x double> @llvm.ceil.v4f64(<4 x double> %x) nounwind readnone
[all …]
/external/jemalloc_new/test/unit/
Dextent_quantize.c60 size_t lextent_size, extent_size, floor, ceil; in TEST_BEGIN() local
69 ceil = extent_size_quantize_ceil(extent_size); in TEST_BEGIN()
75 assert_zu_eq(extent_size, ceil, in TEST_BEGIN()
109 size_t extent_size, floor, ceil; in TEST_BEGIN() local
113 ceil = extent_size_quantize_ceil(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()
118 assert_zu_ge(ceil, extent_size, in TEST_BEGIN()
120 "ceil=%zu)", floor, extent_size, ceil); in TEST_BEGIN()
123 "(floor_prev=%zu, floor=%zu, extent_size=%zu, ceil=%zu)", in TEST_BEGIN()
[all …]
/external/mpdecimal/tests/testdata_dist/
Dcov.decTest147 -- floor, ceil, trunc
171 ceil10017 ceil 0 -> 0
172 ceil10018 ceil 0.0 -> 0
173 ceil10019 ceil -0.0 -> -0
174 ceil10020 ceil 1e-200 -> 1
175 ceil10021 ceil -1e-200 -> -0
176 ceil10022 ceil 0.5 -> 1
177 ceil10023 ceil -0.5 -> -0
178 ceil10024 ceil 0.999999999999 -> 1
179 ceil10025 ceil -0.99999999999 -> -0
[all …]
/external/sdv/vsomeip/third_party/boost/chrono/test/duration/
Drounding_pass.cpp15 #include <boost/chrono/ceil.hpp>
51 BOOST_TEST_EQ( seconds(-2), ceil<seconds>( milliseconds(-2000) ) ); in test_ceil()
52 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1999) ) ); in test_ceil()
53 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1001) ) ); in test_ceil()
54 BOOST_TEST_EQ( seconds(-1), ceil<seconds>( milliseconds(-1000) ) ); in test_ceil()
55 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(-999) ) ); in test_ceil()
56 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(-1) ) ); in test_ceil()
57 BOOST_TEST_EQ( seconds(0), ceil<seconds>( milliseconds(0) ) ); in test_ceil()
58 BOOST_TEST_EQ( seconds(1), ceil<seconds>( milliseconds(1) ) ); in test_ceil()
59 BOOST_TEST_EQ( seconds(1), ceil<seconds>( milliseconds(999) ) ); in test_ceil()
[all …]
/external/bc/tests/bc/
Dlib2.txt28 ceil(0, 0)
29 ceil(0, 1)
30 ceil(0, 100)
31 ceil(1, 0)
32 ceil(1, 3)
33 ceil(1.4, 0)
34 ceil(1.5, 0)
35 ceil(34.45, 2)
36 ceil(64.1223, 4)
37 ceil(283.1983893, 6)
[all …]
/external/skia/resources/sksl/intrinsics/
DCeil.sksl7 return (ceil(testInputs.x) == expected.x &&
8 ceil(testInputs.xy) == expected.xy &&
9 ceil(testInputs.xyz) == expected.xyz &&
10 ceil(testInputs.xyzw) == expected.xyzw &&
11 ceil(constVal.x) == expected.x &&
12 ceil(constVal.xy) == expected.xy &&
13 ceil(constVal.xyz) == expected.xyz &&
14 ceil(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/external/llvm/test/Transforms/InstCombine/
Dceil.ll3 declare float @llvm.ceil.f32(float) #0
4 declare double @llvm.ceil.f64(double) #0
5 declare <4 x float> @llvm.ceil.v4f32(<4 x float>) #0
10 %x = call float @llvm.ceil.f32(float 1.00) #0
17 %x = call float @llvm.ceil.f32(float 1.25) #0
24 %x = call float @llvm.ceil.f32(float -1.25) #0
31 …%x = call <4 x float> @llvm.ceil.v4f32(<4 x float> <float 1.00, float 1.25, float -1.25, float -1.…
38 %x = call double @llvm.ceil.f64(double 1.0) #0
45 %x = call double @llvm.ceil.f64(double 1.3) #0
52 %x = call double @llvm.ceil.f64(double -1.75) #0
/external/ComputeLibrary/tests/datasets/system_tests/googlenet/inceptionv1/
DGoogLeNetInceptionV1PoolingLayerDataset.h47 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
49 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
51 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
53 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
55 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
57 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
59 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
61 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
63 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
65 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV1PoolingLayerDataset()
/external/ComputeLibrary/tests/datasets/
DDepthwiseConvolutionLayerDataset.h129 // Ceil rounding in SmallDepthwiseConvolutionLayerDataset()
130 …9U), Size2D(8U, 6U), PadStrideInfo(2, 3, 1, 1, 1, 3, DimensionRoundingType::CEIL), Size2D(1U, 2U)); in SmallDepthwiseConvolutionLayerDataset()
225 …(TensorShape(7U, 7U, 16U), Size2D(3U, 3U), PadStrideInfo(1, 1, 0, 0, DimensionRoundingType::CEIL)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
226 … 7U, 16U), Size2D(3U, 3U), PadStrideInfo(1, 1, 0, 0, DimensionRoundingType::CEIL), Size2D(2U, 2U)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
227 …(TensorShape(7U, 7U, 16U), Size2D(3U, 3U), PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
228 … 7U, 16U), Size2D(3U, 3U), PadStrideInfo(1, 1, 2, 2, DimensionRoundingType::CEIL), Size2D(2U, 2U)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
230 …(TensorShape(9U, 9U, 32U), Size2D(3U, 3U), PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
231 … 9U, 32U), Size2D(3U, 3U), PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL), Size2D(2U, 2U)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
232 …(TensorShape(9U, 9U, 32U), Size2D(3U, 3U), PadStrideInfo(2, 2, 1, 1, DimensionRoundingType::CEIL)); in SmallOptimizedDepthwiseConvolutionLayerDataset3x3()
242 …sorShape(233U, 277U, 16U), Size2D(3U, 3U), PadStrideInfo(1, 1, 0, 0, DimensionRoundingType::CEIL)); in LargeOptimizedDepthwiseConvolutionLayerDataset3x3()
[all …]
/external/ComputeLibrary/src/core/
DHelpers.cpp48 … auto valid_end_out_x = std::min<int>(std::ceil(valid_end_in_x * scale_x), dst_shape[idx_width]); in calculate_valid_region_scale()
49 …auto valid_end_out_y = std::min<int>(std::ceil(valid_end_in_y * scale_y), dst_shape[idx_height]); in calculate_valid_region_scale()
59 // start_out = ceil((start_in * scale) - sampling_point) in calculate_valid_region_scale()
60 valid_start_out_x = std::ceil(valid_start_in_x * scale_x - sampling_point); in calculate_valid_region_scale()
61 valid_start_out_y = std::ceil(valid_start_in_y * scale_y - sampling_point); in calculate_valid_region_scale()
64 … // end_out = ceil((end_in * scale) - sampling_point); // <-- ceil(x - 1) strictly less in calculate_valid_region_scale()
65 valid_end_out_x = std::ceil(valid_end_in_x * scale_x - sampling_point); in calculate_valid_region_scale()
66 valid_end_out_y = std::ceil(valid_end_in_y * scale_y - sampling_point); in calculate_valid_region_scale()
72 // start_out = ceil(((start_in + sampling_point) * scale) - sampling_point) in calculate_valid_region_scale()
73 … valid_start_out_x = std::ceil((valid_start_in_x + sampling_point) * scale_x - sampling_point); in calculate_valid_region_scale()
[all …]
/external/rust/android-crates-io/crates/libm/src/math/
Dceil.rs6 /// Ceil (f64)
10 pub fn ceil(x: f64) -> f64 { in ceil() function
12 // `f64.ceil` native instruction, so we can leverage this for both code size in ceil()
62 assert_eq!(ceil(1.1), 2.0); in sanity_check()
63 assert_eq!(ceil(2.9), 3.0); in sanity_check()
66 /// The spec: https://en.cppreference.com/w/cpp/numeric/math/ceil
70 assert!(ceil(NAN).is_nan()); in spec_tests()
72 assert_eq!(ceil(f), f); in spec_tests()
/external/llvm/test/CodeGen/Mips/
Dcall-optimization.ll56 ; O32-DAG: lw $25, %call16(ceil)
60 ; O32: lw $25, %call16(ceil)
64 ; O32: lw $25, %call16(ceil)
69 ; O32-LOADTGT-DAG: lw $25, %call16(ceil)
83 %call = tail call double @ceil(double %d)
84 %call1 = tail call double @ceil(double %call)
86 %call2 = tail call double @ceil(double %call1)
91 declare double @ceil(double)
/external/ComputeLibrary/tests/datasets/system_tests/googlenet/inceptionv4/
DGoogLeNetInceptionV4PoolingLayerDataset.h47 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
49 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
51 …U), PoolingLayerInfo(PoolingType::AVG, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
53 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
55 …U), PoolingLayerInfo(PoolingType::AVG, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
57 …U), PoolingLayerInfo(PoolingType::MAX, 3, PadStrideInfo(2, 2, 0, 0, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
59 …U), PoolingLayerInfo(PoolingType::AVG, 3, PadStrideInfo(1, 1, 1, 1, DimensionRoundingType::CEIL))); in GoogLeNetInceptionV4PoolingLayerDataset()
/external/sdv/vsomeip/third_party/boost/numeric/conversion/include/boost/numeric/conversion/
Dconverter_policies.hpp17 #include <boost/config/no_tr1/cmath.hpp> // for std::floor and std::ceil
39 using std::ceil ; in nearbyint()
42 return s < static_cast<S>(0) ? ceil(s) : floor(s) ; in nearbyint()
70 struct Ceil struct
79 using std::ceil ; in nearbyint()
82 return ceil(s) ; in nearbyint()
101 using std::ceil ; in nearbyint()
106 S next = ceil(s); in nearbyint()
/external/iproute2/tc/
Dq_htb.c41 " [ceil R2] [cburst B2] [mtu MTU] [quantum Q]\n" in explain()
47 " ceil definite upper class rate (no borrows) {rate}\n" in explain()
48 " cburst burst but for ceil {computed}\n" in explain()
176 } else if (strcmp(*argv, "ceil") == 0) { in htb_parse_class_opt()
179 fprintf(stderr, "Double \"ceil\" spec\n"); in htb_parse_class_opt()
183 explain1("ceil"); in htb_parse_class_opt()
216 /* if ceil params are missing, use the same as rate */ in htb_parse_class_opt()
221 opt.ceil.rate = (ceil64 >= (1ULL << 32)) ? ~0U : ceil64; in htb_parse_class_opt()
230 opt.ceil.overhead = overhead; in htb_parse_class_opt()
233 opt.ceil.mpu = mpu; in htb_parse_class_opt()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dceil.cc26 namespace ceil { namespace
52 TF_LITE_UNSUPPORTED_TYPE(context, input->type, "Ceil"); in Eval()
55 optimized_ops::Ceil(GetTensorShape(input), GetTensorData<float>(input), in Eval()
60 } // namespace ceil
64 /*free=*/nullptr, ceil::Prepare, ceil::Eval}; in Register_CEIL()
/external/libnl/python/netlink/route/qdisc/
Dhtb.py66 def ceil(self): member in HTBClass
67 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class)
68 return util.Rate(ceil)
70 @ceil.setter
71 def ceil(self, value): member in HTBClass
126 if self.rate != self.ceil:
127 ret += " {s|borrow-up-to!k} {a|ceil}"
/external/llvm/test/CodeGen/SystemZ/
Dfp-round-01.ll83 ; Test ceil for f32.
84 declare float @llvm.ceil.f32(float %f)
89 %res = call float @llvm.ceil.f32(float %f)
93 ; Test ceil for f64.
94 declare double @llvm.ceil.f64(double %f)
97 ; CHECK: brasl %r14, ceil@PLT
99 %res = call double @llvm.ceil.f64(double %f)
103 ; Test ceil for f128: omitted for now because we cannot handle
/external/tensorflow/tensorflow/compiler/tests/
Dconv3d_test.py87 # At the corners, #cells = ceil(kernel_depth/2) * ceil(kernel_height/2)
88 # * ceil(kernel_width/2)
90 # kernel_depth * ceil(kernel_height/2) * ceil(kernel_width/2) or
91 # ceil(kernel_depth/2) * kernel_height * ceil(kernel_width/2) or
92 # ceil(kernel_depth/2) * ceil(kernel_height/2) * kernel_width
94 # ceil(kernel_depth/2) * kernel_height * kernel_width or
95 # kernel_depth * ceil(kernel_height/2) * kernel_width or
96 # kernel_depth * kernel_height * ceil(kernel_width/2)
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dconv3d_transpose_test.py51 # At the corners, #cells = ceil(kernel_depth/2) * ceil(kernel_height/2)
52 # * ceil(kernel_width/2)
54 # kernel_depth * ceil(kernel_height/2) * ceil(kernel_width/2) or
55 # ceil(kernel_depth/2) * kernel_height * ceil(kernel_width/2) or
56 # ceil(kernel_depth/2) * ceil(kernel_height/2) * kernel_width
58 # ceil(kernel_depth/2) * kernel_height * kernel_width or
59 # kernel_depth * ceil(kernel_height/2) * kernel_width or
60 # kernel_depth * kernel_height * ceil(kernel_width/2)
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_fusion_test.cc99 auto ceil = builder.AddInstruction( in TEST_F() local
102 HloInstruction::CreateUnary(vshape, HloOpcode::kExp, ceil)); in TEST_F()
149 auto ceil = builder.AddInstruction( in TEST_F() local
154 HloInstruction::CreateConcatenate(cshape, {ceil, ceil}, /*dimension=*/0)); in TEST_F()
212 // parameter, negate, ceil, concat, and reshape. in TEST_F()
230 // ceil = ceil(negate) in TEST_F()
231 // add1 = add(negate, ceil) in TEST_F()
232 // add2 = add(ceil, negate) in TEST_F()
235 // order {ceil, negate} even though they have different orders in their in TEST_F()
246 auto ceil = builder.AddInstruction( in TEST_F() local
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/time/time.duration/time.duration.cast/
Dceil.pass.cpp13 // ceil
18 // ceil(const duration<Rep, Period>& d);
31 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test()
33 assert(std::chrono::ceil<ToDuration>(f) == d); in test()
47 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
49 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
Dceil.pass.cpp14 // ceil
19 // ceil(const duration<Rep, Period>& d);
30 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test()
32 assert(std::chrono::ceil<ToDuration>(f) == d); in test()
46 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
48 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
/external/cronet/stable/third_party/libc++/src/test/std/time/time.duration/time.duration.cast/
Dceil.pass.cpp13 // ceil
18 // ceil(const duration<Rep, Period>& d);
31 typedef decltype(std::chrono::ceil<ToDuration>(f)) R; in test()
33 assert(std::chrono::ceil<ToDuration>(f) == d); in test()
47 …constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()
49 …constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(… in main()

12345678910>>...108