Searched refs:ceil (Results 1 - 25 of 426) sorted by relevance

1234567891011>>

/external/libcxx/test/std/utilities/time/time.duration/time.duration.cast/
H A Dceil.fail.cpp13 // ceil
17 // ceil(const duration<Rep, Period>& d);
25 std::chrono::ceil<int>(std::chrono::milliseconds(3));
H A Dceil.pass.cpp14 // ceil
19 // ceil(const duration<Rep, Period>& d);
30 typedef decltype(std::chrono::ceil<ToDuration>(f)) R;
32 assert(std::chrono::ceil<ToDuration>(f) == d);
46 constexpr std::chrono::hours h1 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(9000000));
48 constexpr std::chrono::hours h2 = std::chrono::ceil<std::chrono::hours>(std::chrono::milliseconds(-9000000));
/external/tensorflow/tensorflow/core/kernels/
H A Dcwise_op_gpu_ceil.cu.cc22 DEFINE_UNARY3(ceil, Eigen::half, float, double);
H A Dcwise_op_ceil.cc19 REGISTER3(UnaryOp, CPU, "Ceil", functor::ceil, float, Eigen::half, double);
22 REGISTER3(UnaryOp, GPU, "Ceil", functor::ceil, float, Eigen::half, double);
26 REGISTER2(UnaryOp, SYCL, "Ceil", functor::ceil, float, double);
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/
H A Dceil.fail.cpp13 // ceil
17 // ceil(const time_point<Clock, Duration>& t);
25 std::chrono::ceil<int>(std::chrono::system_clock::now());
H A Dceil.pass.cpp13 // ceil
17 // ceil(const time_point<Clock, Duration>& t);
33 typedef decltype(std::chrono::ceil<ToDuration>(f)) R;
35 assert(std::chrono::ceil<ToDuration>(f) == t);
48 static_assert(std::chrono::ceil<ToDuration>(f) == t, "");
/external/eigen/doc/snippets/
H A DCwise_ceil.cpp3 cout << ceil(v) << endl;
/external/jemalloc/test/unit/
H A Drun_quantize.c60 size_t lrun_size, run_size, floor, ceil; local
68 ceil = run_quantize_ceil(run_size);
73 assert_zu_eq(run_size, ceil,
101 * run_quantize_{floor,ceil}() are monotonic.
115 size_t run_size, floor, ceil; local
119 ceil = run_quantize_ceil(run_size);
122 "Floor should be <= (floor=%zu, run_size=%zu, ceil=%zu)",
123 floor, run_size, ceil);
124 assert_zu_ge(ceil, run_size,
125 "Ceiling should be >= (floor=%zu, run_size=%zu, ceil
[all...]
/external/libmojo/ui/gfx/geometry/
H A Dsafe_integer_conversions.h21 return base::saturated_cast<int>(std::ceil(value));
29 return base::saturated_cast<int>(std::ceil(value));
37 rounded = std::ceil(value - 0.5f);
46 rounded = std::ceil(value - 0.5);
H A Drect.h283 std::ceil(rect.right() * x_scale)));
285 std::ceil(rect.bottom() * y_scale)));
289 x : static_cast<int>(std::ceil(rect.right() * x_scale));
291 y : static_cast<int>(std::ceil(rect.bottom() * y_scale));
308 int w = base::saturated_cast<int>(std::ceil(rect.width() * x_scale));
309 int h = base::saturated_cast<int>(std::ceil(rect.height() * y_scale));
323 std::ceil(rect.x() * x_scale)));
325 std::ceil(rect.y() * y_scale)));
330 int x = static_cast<int>(std::ceil(rect.x() * x_scale));
331 int y = static_cast<int>(std::ceil(rec
[all...]
/external/libvpx/libvpx/vpx_ports/
H A Dmsvc.h25 return ceil(x - 0.5);
/external/ltp/testcases/misc/math/float/
H A Dfloat_power.c29 {FUNC_NORMAL, 50, ceil, "ceil", "ceil_inp.ref", "ceil_out.ref",
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java32 public static float ceil(float value) { method in class:ShadowFloatMath
33 return (float) Math.ceil(value);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowFloatMath.java32 public static float ceil(float value) { method in class:ShadowFloatMath
33 return (float) Math.ceil(value);
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncCeiling.java45 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
/external/tensorflow/tensorflow/stream_executor/lib/
H A Dmathutil.h44 template <typename IntegralType, bool ceil>
55 // There's a bunch of 'recipes' to compute a integer ceil (or floor) on the web,
57 template<typename IntegralType, bool ceil>
72 if (ceil) { // Compile-time condition: not an actual branching
74 // the real ratio is negative, and so rounded toward zero is the ceil.
/external/libnl/python/netlink/route/qdisc/
H A Dhtb.py65 def ceil(self): member in class:HTBClass
66 ceil = capi.rtnl_htb_get_ceil(self._class._rtnl_class)
67 return util.Rate(ceil)
69 @ceil.setter
70 def ceil(self, value): member in class:HTBClass
125 if self.rate != self.ceil:
126 ret += ' {s|borrow-up-to!k} {a|ceil}'
/external/tensorflow/tensorflow/core/lib/math/
H A Dmath_util.h31 // Returns the ceil (resp. floor) of the ratio of two integers.
61 template <typename IntegralType, bool ceil>
95 // There's a bunch of 'recipes' to compute a integer ceil (or floor) on the web,
97 template <typename IntegralType, bool ceil>
105 if (ceil) { // Compile-time condition: not an actual branching
107 // the real ratio is negative, and so rounded toward zero is the ceil.
/external/autotest/client/common_lib/cros/
H A Dperf_stat_lib.py5 from math import ceil, floor, sqrt namespace
22 c, f = int(ceil(i)), int(floor(i))
/external/eigen/unsupported/test/
H A Dcxx11_tensor_roundings.cpp48 Tensor<float, 2> result = ftensor.ceil();
52 VERIFY_IS_EQUAL(result(i,j), numext::ceil(ftensor(i,j)));
/external/libmojo/ui/gfx/range/
H A Drange_f.cc39 uint32_t start = start_ > 0 ? static_cast<uint32_t>(std::ceil(start_)) : 0;
40 uint32_t end = end_ > 0 ? static_cast<uint32_t>(std::ceil(end_)) : 0;
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
H A DElitisticListPopulation.java81 int boundIndex = (int) FastMath.ceil((1.0 - this.getElitismRate()) * oldChromosomes.size());
/external/autotest/client/cros/video/
H A Dsequence_generator.py76 math.ceil((samples_per_min * duration) / 60.0))
/external/llvm/test/MC/Mips/
H A Dmips-reginfo-fp32.s29 # ceil.w.s - Reads $f8 and writes to $f10.
30 ceil.w.s $f10, $f8
/external/pdfium/fxbarcode/
H A DBC_TwoDimWriter.cpp84 (int32_t)(outputWidth * ceil((float)m_Width / (float)outputWidth));
86 (int32_t)(outputHeight * ceil((float)m_Height / (float)outputHeight));
89 int32_t multiX = (int32_t)ceil((float)outputWidth / (float)tempWidth);
90 int32_t multiY = (int32_t)ceil((float)outputHeight / (float)tempHeight);

Completed in 1085 milliseconds

1234567891011>>