/aosp_15_r20/external/llvm/test/CodeGen/AMDGPU/ |
H A D | fceil.ll | 5 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 …]
|
H A D | fceil64.ll | 5 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 …]
|
/aosp_15_r20/libcore/luni/src/test/resources/ |
H A D | math_important_numbers.csv | 625 ceil,0x1.8p1,0x1.5bf0a8b145769p1,2.718281828459045 626 ceil,-0x1.0p1,-0x1.5bf0a8b145769p1,-2.718281828459045 627 ceil,0x0.0p0,0x0.0p0,0.0 628 ceil,-0x0.0p0,-0x0.0p0,-0.0 629 ceil,0x1.0p0,0x1.0p0,1.0 630 ceil,-0x1.0p0,-0x1.0p0,-1.0 631 ceil,-0x0.0p0,-0x1.0p-1,-0.5 632 ceil,0x1.0p0,0x1.0p-1,0.5 633 ceil,0x0.0p2047,0x0.0p2047,infty 634 ceil,-0x0.0p2047,-0x0.0p2047,-infty [all …]
|
H A D | math_java_only.csv | 1733 ceil,0x1.0p1,0x1.1529c4488417ep0 1734 ceil,0x1.0p1,0x1.8fa0a5e8cee32p0 1735 ceil,-0x0.0p0,-0x1.8819e79d62b8p-1 1736 ceil,-0x1.0p3,-0x1.1824560a8c094p3 1737 ceil,0x1.0p0,0x1.c7993d0a6bab1p-5 1738 ceil,0x1.0p0,0x1.d3f48401ae71dp-2 1739 ceil,-0x0.0p0,-0x1.fe333a8929a13p-4 1740 ceil,-0x1.0p0,-0x1.d3f9245636b8cp0 1741 ceil,-0x1.0p0,-0x1.38b161487c697p0 1742 ceil,-0x1.8p1,-0x1.c652252a89289p1 [all …]
|
/aosp_15_r20/external/bc/tests/bc/ |
H A D | lib2.txt | 28 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 …]
|
/aosp_15_r20/external/ComputeLibrary/tests/datasets/ |
H A D | DepthwiseConvolutionLayerDataset.h | 129 // 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 …]
|
/aosp_15_r20/external/XNNPACK/eval/ |
H A D | f32-roundu.cc | 33 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[0])); in TEST() 45 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[0])); in TEST() 61 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 79 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 97 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 115 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 133 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 151 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[i])); in TEST() 165 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[0])); in TEST() 177 const uint32_t reference_output = float_as_uint32(std::ceil(inputs[0])); in TEST() [all …]
|
/aosp_15_r20/external/jemalloc_new/test/unit/ |
H A D | extent_quantize.c | 60 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 …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/chrono/test/duration/ |
D | rounding_pass.cpp | 15 #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 …]
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/libcore/util/ |
H A D | FP16Test.java | 154 assertEquals(POSITIVE_INFINITY, FP16.ceil(POSITIVE_INFINITY)); in testCeil() 155 assertEquals(NEGATIVE_INFINITY, FP16.ceil(NEGATIVE_INFINITY)); in testCeil() 156 assertEquals(POSITIVE_ZERO, FP16.ceil(POSITIVE_ZERO)); in testCeil() 157 assertEquals(NEGATIVE_ZERO, FP16.ceil(NEGATIVE_ZERO)); in testCeil() 158 assertEquals(NaN, FP16.ceil(NaN)); in testCeil() 159 assertEquals(LOWEST_VALUE, FP16.ceil(LOWEST_VALUE)); in testCeil() 160 assertEquals(1.0f, toFloat(FP16.ceil(MIN_NORMAL)), 0.0f); in testCeil() 161 assertEquals(1.0f, toFloat(FP16.ceil((short) 0x3ff)), 0.0f); in testCeil() 162 assertEquals(1.0f, toFloat(FP16.ceil(toHalf(0.2f))), 0.0f); in testCeil() 163 assertEquals(NEGATIVE_ZERO, FP16.ceil(toHalf(-0.2f))); in testCeil() [all …]
|
/aosp_15_r20/external/libnl/lib/route/qdisc/ |
H A D | htb.c | 103 rtnl_copy_ratespec(&htb->ch_ceil, &opts.ceil); in htb_class_msg_parser() 183 nl_dump(p, " ceil %.2f%s/s (%.0f%s) log %u", in htb_class_dump_details() 257 rtnl_rcopy_ratespec(&opts.ceil, &htb->ch_ceil); in htb_class_msg_fill() 261 * If not set, configured rate is used as ceil, which implies in htb_class_msg_fill() 264 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_msg_fill() 489 * Return ceil rate of HTB class 492 * @return Ceil rate in bytes/s or 0 if unspecified. If the value 511 * Return ceil rate of HTB class 513 * @arg out_ceil64 on success, the set ceil value. 531 * Set ceil rate of HTB class [all …]
|
/aosp_15_r20/external/iproute2/tc/ |
H A D | q_htb.c | 41 " [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 …]
|
/aosp_15_r20/external/ComputeLibrary/src/core/ |
H A D | Helpers.cpp | 48 … 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 …]
|
/aosp_15_r20/art/test/082-inline-execute/src/ |
H A D | Main.java | 607 Math.ceil(-0.9); 608 Assert.assertEquals(Math.ceil(+0.0), +0.0d, 0.0); 609 Assert.assertEquals(Math.ceil(-0.0), -0.0d, 0.0); 610 Assert.assertEquals(Math.ceil(-0.9), -0.0d, 0.0); 611 Assert.assertEquals(Math.ceil(-0.5), -0.0d, 0.0); 612 Assert.assertEquals(Math.ceil(0.0), -0.0d, 0.0); 613 Assert.assertEquals(Math.ceil(+2.0), +2.0d, 0.0); 614 Assert.assertEquals(Math.ceil(+2.1), +3.0d, 0.0); 615 Assert.assertEquals(Math.ceil(+2.5), +3.0d, 0.0); 616 Assert.assertEquals(Math.ceil(+2.9), +3.0d, 0.0); [all …]
|
/aosp_15_r20/external/llvm/test/Transforms/InstCombine/ |
H A D | ceil.ll | 3 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
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/ |
H A D | cpu_fusion_test.cc | 99 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 …]
|
/aosp_15_r20/external/deqp/android/cts/main/src/ |
H A D | gles3-driver-issues.txt | 66 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_vertex.scalar 67 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_vertex.vec2 68 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_vertex.vec3 69 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_vertex.vec4 70 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_fragment.scalar 71 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_fragment.vec2 72 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_fragment.vec3 73 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.lowp_fragment.vec4 74 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.mediump_vertex.scalar 75 dEQP-GLES3.functional.shaders.builtin_functions.precision.ceil.mediump_vertex.vec2 [all …]
|
/aosp_15_r20/external/ComputeLibrary/tests/datasets/system_tests/googlenet/inceptionv1/ |
H A D | GoogLeNetInceptionV1PoolingLayerDataset.h | 47 …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()
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tests/ |
H A D | conv3d_test.py | 87 # 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)
|
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/ |
H A D | conv3d_transpose_test.py | 51 # 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)
|
/aosp_15_r20/external/skia/resources/sksl/intrinsics/ |
H A D | Ceil.sksl | 7 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;
|
/aosp_15_r20/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
H A D | TestCeil.rscript | 24 return ceil(inV); 28 return ceil(inV); 32 return ceil(inV); 36 return ceil(inV); 40 return ceil(inV); 44 return ceil(inV); 48 return ceil(inV); 52 return ceil(inV);
|
/aosp_15_r20/cts/tests/tests/util/src/android/util/cts/ |
H A D | HalfTest.java | 268 public void ceil() { in ceil() method in HalfTest 269 assertShortEquals(POSITIVE_INFINITY, Half.ceil(POSITIVE_INFINITY)); in ceil() 270 assertShortEquals(NEGATIVE_INFINITY, Half.ceil(NEGATIVE_INFINITY)); in ceil() 271 assertShortEquals(POSITIVE_ZERO, Half.ceil(POSITIVE_ZERO)); in ceil() 272 assertShortEquals(NEGATIVE_ZERO, Half.ceil(NEGATIVE_ZERO)); in ceil() 273 assertShortEquals(NaN, Half.ceil(NaN)); in ceil() 274 assertShortEquals(LOWEST_VALUE, Half.ceil(LOWEST_VALUE)); in ceil() 275 assertEquals(1.0f, toFloat(Half.ceil(MIN_NORMAL)), 1e-6f); in ceil() 276 assertEquals(1.0f, toFloat(Half.ceil((short) 0x3ff)), 1e-6f); in ceil() 277 assertEquals(1.0f, toFloat(Half.ceil(toHalf(0.2f))), 1e-6f); in ceil() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/vendor/compiler_builtins/libm/src/math/ |
H A D | ceil.rs | 6 /// 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() 69 assert_eq!(ceil(1.1), 2.0); in sanity_check() 70 assert_eq!(ceil(2.9), 3.0); in sanity_check() 73 /// The spec: https://en.cppreference.com/w/cpp/numeric/math/ceil 77 assert!(ceil(NAN).is_nan()); in spec_tests() 79 assert_eq!(ceil(f), f); in spec_tests()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/vendor/compiler_builtins/libm/src/math/ |
H A D | ceil.rs | 6 /// 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() 69 assert_eq!(ceil(1.1), 2.0); in sanity_check() 70 assert_eq!(ceil(2.9), 3.0); in sanity_check() 73 /// The spec: https://en.cppreference.com/w/cpp/numeric/math/ceil 77 assert!(ceil(NAN).is_nan()); in spec_tests() 79 assert_eq!(ceil(f), f); in spec_tests()
|