/external/llvm-project/libc/test/src/math/ |
D | floorf_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::floorf(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::floorf(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::floorf(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::floorf(negInf)); in TEST() 30 ASSERT_NE(isnan(__llvm_libc::floorf(nan)), 0); in TEST() 34 EXPECT_FP_EQ(1.0f, __llvm_libc::floorf(1.0f)); in TEST() 35 EXPECT_FP_EQ(-1.0f, __llvm_libc::floorf(-1.0f)); in TEST() 36 EXPECT_FP_EQ(10.0f, __llvm_libc::floorf(10.0f)); in TEST() 37 EXPECT_FP_EQ(-10.0f, __llvm_libc::floorf(-10.0f)); in TEST() 38 EXPECT_FP_EQ(1234.0f, __llvm_libc::floorf(1234.0f)); in TEST() [all …]
|
/external/rust/crates/libm/src/math/ |
D | floorf.rs | 7 pub fn floorf(x: f32) -> f32 { in floorf() function 50 assert_eq!(floorf(0.5), 0.0); in sanity_check() 51 assert_eq!(floorf(1.1), 1.0); in sanity_check() 52 assert_eq!(floorf(2.9), 2.0); in sanity_check() 59 assert!(floorf(NAN).is_nan()); in spec_tests() 61 assert_eq!(floorf(f), f); in spec_tests()
|
/external/XNNPACK/src/f32-vrnd/gen/ |
D | vrndd-scalar-libm-x4.c | 34 const float vy0 = floorf(vx0); in xnn_f32_vrndd_ukernel__scalar_libm_x4() 35 const float vy1 = floorf(vx1); in xnn_f32_vrndd_ukernel__scalar_libm_x4() 36 const float vy2 = floorf(vx2); in xnn_f32_vrndd_ukernel__scalar_libm_x4() 37 const float vy3 = floorf(vx3); in xnn_f32_vrndd_ukernel__scalar_libm_x4() 48 const float vy = floorf(vx); in xnn_f32_vrndd_ukernel__scalar_libm_x4()
|
D | vrndd-scalar-libm-x2.c | 32 const float vy0 = floorf(vx0); in xnn_f32_vrndd_ukernel__scalar_libm_x2() 33 const float vy1 = floorf(vx1); in xnn_f32_vrndd_ukernel__scalar_libm_x2() 41 const float vy = floorf(vx); in xnn_f32_vrndd_ukernel__scalar_libm_x2()
|
D | vrndd-scalar-libm-x1.c | 29 const float vy = floorf(vx); in xnn_f32_vrndd_ukernel__scalar_libm_x1()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_bilinear_op_gpu.cu.cc | 54 const int top_y_index = in_y > 0.0 ? floorf(in_y) : 0; in ResizeBilinearKernel_faster() 57 const float y_lerp = in_y - floorf(in_y); in ResizeBilinearKernel_faster() 60 const int left_x_index = in_x > 0.0 ? floorf(in_x) : 0; in ResizeBilinearKernel_faster() 133 const int top_y_index = in_y > 0.0 ? floorf(in_y) : 0; in ResizeBilinearKernel() 136 const float y_lerp = in_y - floorf(in_y); in ResizeBilinearKernel() 139 const int left_x_index = in_x > 0.0 ? floorf(in_x) : 0; in ResizeBilinearKernel() 187 const int top_y_index = original_y > 0.0 ? floorf(original_y) : 0; in ResizeBilinearGradKernel() 191 const float y_lerp = original_y - floorf(original_y); in ResizeBilinearGradKernel() 196 const int left_x_index = original_x > 0.0 ? floorf(original_x) : 0; in ResizeBilinearGradKernel() 200 const float x_lerp = original_x - floorf(original_x); in ResizeBilinearGradKernel() [all …]
|
D | resize_nearest_neighbor_op_gpu.cu.cc | 52 floorf((static_cast<float>(out_y) + 0.5f) * height_scale)), in ResizeNearestNeighborNHWC() 57 floorf((static_cast<float>(out_x) + 0.5f) * width_scale)), in ResizeNearestNeighborNHWC() 83 : static_cast<int>(floorf(out_y * height_scale)), in LegacyResizeNearestNeighborNHWC() 87 : static_cast<int>(floorf(out_x * width_scale)), in LegacyResizeNearestNeighborNHWC() 112 floorf((static_cast<float>(in_y) + 0.5f) * height_scale)), in ResizeNearestNeighborBackwardNHWC() 117 floorf((static_cast<float>(in_x) + 0.5f) * width_scale)), in ResizeNearestNeighborBackwardNHWC() 143 : static_cast<int>(floorf(in_y * height_scale)), in LegacyResizeNearestNeighborBackwardNHWC() 147 : static_cast<int>(floorf(in_x * width_scale)), in LegacyResizeNearestNeighborBackwardNHWC()
|
D | crop_and_resize_op_gpu.cu.cc | 89 const int top_y_index = floorf(in_y); in CropAndResizeKernel() 93 const int left_x_index = floorf(in_x); in CropAndResizeKernel() 180 const int top_y_index = floorf(in_y); in CropAndResizeBackpropImageKernel() 184 const int left_x_index = floorf(in_x); in CropAndResizeBackpropImageKernel() 281 const int top_y_index = floorf(in_y); in CropAndResizeBackpropBoxesKernel() 285 const int left_x_index = floorf(in_x); in CropAndResizeBackpropBoxesKernel()
|
/external/llvm/test/CodeGen/ARM/ |
D | floorf.ll | 5 ; CHECK-NOT: floorf 6 %foo = call float @floorf(float 0x4000CCCCC0000000) nounwind readnone 24 declare float @floorf(float) nounwind readnone
|
D | arm32-round-conv.ll | 8 %call = call float @floorf(float %a) nounwind readnone 17 %call = call float @floorf(float %a) nounwind readnone 112 declare float @floorf(float) nounwind readnone
|
/external/llvm-project/llvm/test/CodeGen/ARM/ |
D | floorf.ll | 5 ; CHECK-NOT: floorf 6 %foo = call float @floorf(float 0x4000CCCCC0000000) nounwind readnone 24 declare float @floorf(float) nounwind readnone
|
D | arm32-round-conv.ll | 8 %call = call float @floorf(float %a) nounwind readnone 17 %call = call float @floorf(float %a) nounwind readnone 112 declare float @floorf(float) nounwind readnone
|
/external/angle/src/tests/gl_tests/ |
D | PointSpritesTest.cpp | 55 maxPointSize = floorf(maxPointSize); in testPointCoordAndPointSizeCompliance() 60 GLint step = static_cast<GLint>(floorf(maxPointSize / 4)); in testPointCoordAndPointSizeCompliance() 105 int xf = static_cast<int>(floorf(s2p(pointX + u * pointWidth))); in testPointCoordAndPointSizeCompliance() 106 int yf = static_cast<int>(floorf(s2p(pointY + v * pointWidth))); in testPointCoordAndPointSizeCompliance() 109 GLubyte color[4] = {static_cast<GLubyte>(floorf(s * 255)), in testPointCoordAndPointSizeCompliance() 110 static_cast<GLubyte>(floorf((1 - t) * 255)), 0, 255}; in testPointCoordAndPointSizeCompliance() 515 GLfloat testPointSize = floorf(maxPointSize * 2.0f); in TEST_P()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | 2007-10-04-AvoidEFLAGSCopy.ll | 16 ; CHECK-NEXT: calll floorf 27 %tmp2152 = call float @floorf( float 0.000000e+00 ) ; <float> [#uses=0] 37 declare float @floorf(float)
|
D | pr31143.ll | 16 %floor = call float @floorf(float %v) 57 declare float @floorf(float) nounwind readnone
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_line.c | 274 return f - floorf(f); in fracf() 364 x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line() 365 y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line() 366 x2diff = v2[0][0] - floorf(v2[0][0]) - 0.5f; in try_setup_line() 367 y2diff = v2[0][1] - floorf(v2[0][1]) - 0.5f; in try_setup_line() 462 x1diff = v1[0][0] - floorf(v1[0][0]) - 0.5f; in try_setup_line() 463 y1diff = v1[0][1] - floorf(v1[0][1]) - 0.5f; in try_setup_line() 464 x2diff = v2[0][0] - floorf(v2[0][0]) - 0.5f; in try_setup_line() 465 y2diff = v2[0][1] - floorf(v2[0][1]) - 0.5f; in try_setup_line()
|
/external/llvm/test/CodeGen/X86/ |
D | 2007-10-04-AvoidEFLAGSCopy.ll | 10 %tmp2152 = call float @floorf( float 0.000000e+00 ) ; <float> [#uses=0] 20 declare float @floorf(float)
|
/external/mesa3d/include/ |
D | c99_math.h | 70 if (f - floorf(f) == 0.5f) { in lrintf() 96 if (f - floorf(f) == 0.5f) { in llrintf()
|
/external/llvm/test/Transforms/InstCombine/ |
D | double-float-shrink-2.ll | 8 ; DO-SIMPLIFY: call float @floorf( 15 ; C89-SIMPLIFY: call float @floorf( 36 ; --> floorf
|
D | float-shrink-compare.ll | 37 ; CHECK-NEXT: %floorf = call float @floorf(float %x) 38 ; CHECK-NEXT: fcmp oeq float %floorf, %y 121 ; CHECK-NEXT: %floorf = call float @floorf(float %x) 122 ; CHECK-NEXT: fcmp oeq float %floorf, %y
|
/external/llvm-project/libc/fuzzing/math/ |
D | math_differential_fuzz.cpp | 78 SingleInputSingleOutputDiff<float>(&__llvm_libc::floorf, &::floorf, data, in LLVMFuzzerTestOneInput()
|
/external/llvm-project/libc/src/math/ |
D | floorf.h | 14 float floorf(float x);
|
D | floorf.cpp | 14 float LLVM_LIBC_ENTRYPOINT(floorf)(float x) { return fputil::floor(x); } in LLVM_LIBC_ENTRYPOINT() argument
|
/external/XNNPACK/src/math/ |
D | roundd-scalar-floor.c | 24 const float vy = floorf(vx); in xnn_math_f32_roundd__scalar_floor()
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | arm64-rounding.ll | 8 %call = tail call float @floorf(float %a) nounwind readnone 12 declare float @floorf(float) nounwind readnone 136 %call = tail call float @floorf(float %a) nounwind readnone
|