/llvm-project/libcxx/include/__math/ |
H A D | modulo.h | 48 inline _LIBCPP_HIDE_FROM_ABI float modf(float __x, float* __y) _NOEXCEPT { return __builtin_modff(_… in modf() function 51 _LIBCPP_HIDE_FROM_ABI double modf(double __x, double* __y) _NOEXCEPT { in modf() function 55 inline _LIBCPP_HIDE_FROM_ABI long double modf(long double __x, long double* __y) _NOEXCEPT { in modf() function
|
/llvm-project/libc/src/math/generic/ |
H A D | modf.cpp | 1 //===-- Implementation of modf function -----------------------------------===// 9 #include "src/math/modf.h" 16 LLVM_LIBC_FUNCTION(double, modf, (double x, double *iptr)) { 17 return fputil::modf(x, *iptr);
|
H A D | modfl.cpp | 17 return fputil::modf(x, *iptr);
|
H A D | modff.cpp | 1 //===-- Implementation of modf function -----------------------------------===// 17 return fputil::modf(x, *iptr);
|
H A D | modff128.cpp | 17 return fputil::modf(x, *iptr);
|
H A D | modff16.cpp | 17 return fputil::modf(x, *iptr);
|
/llvm-project/libclc/generic/include/clc/math/ |
H A D | modf.inc | 23 _CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE modf(__CLC_GENTYPE x, global __CLC_GENTYPE *iptr); 24 _CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE modf(__CLC_GENTYPE x, local __CLC_GENTYPE *iptr); 25 _CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE modf(__CLC_GENTYPE x, private __CLC_GENTYPE *iptr);
|
H A D | modf.h | 23 #define __CLC_BODY <clc/math/modf.inc>
|
/llvm-project/clang/test/Headers/ |
H A D | nvptx_device_math_modf.cpp | 28 dx = std::modf(x, &ipart); in test_modf() 44 res = modf(1.1, &intpart); in main()
|
H A D | nvptx_device_cmath_functions_cxx17.cpp | 20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
H A D | nvptx_device_math_functions_cxx17.cpp | 20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
H A D | nvptx_device_math_functions.cpp | 20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
H A D | nvptx_device_cmath_functions.cpp | 20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
H A D | nvptx_device_cmath_functions.c | 20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
H A D | nvptx_device_math_functions.c | 30 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
|
/llvm-project/libclc/generic/lib/math/ |
H A D | modf.inc | 31 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE modf(__CLC_GENTYPE x, __CLC_GENTYPE *iptr) { 37 _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE modf(__CLC_GENTYPE x, addrspace __CLC_GENTYPE *iptr) { \ 39 __CLC_GENTYPE ret = modf(x, &private_iptr); \
|
/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 139 __DEVICE__ double modf(double, double *); 140 __DEVICE__ float modf(float, float *); 252 using ::modf;
|
/llvm-project/libc/fuzzing/math/ |
H A D | math_differential_fuzz.cpp | 142 &LIBC_NAMESPACE::modf, &::modf, data, size); in LLVMFuzzerTestOneInput()
|
/llvm-project/libcxx/test/libcxx/numerics/c.math/ |
H A D | constexpr-cxx23-clang.pass.cpp | 83 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0f, &DummyFloat) == 0.0f); in main() 84 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0, &DummyDouble) == 0.0); in main() 85 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0L, &DummyLongDouble) == 0.0L); in main()
|
H A D | constexpr-cxx23-gcc.pass.cpp | 80 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0f, &DummyFloat) == 0.0f); in main() 81 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0, &DummyDouble) == 0.0); in main() 82 ASSERT_NOT_CONSTEXPR_CXX23(std::modf(1.0L, &DummyLongDouble) == 0.0L); in main()
|
/llvm-project/libc/test/src/math/ |
H A D | modf_test.cpp | 13 LIST_MODF_TESTS(double, LIBC_NAMESPACE::modf)
|
/llvm-project/libc/test/src/math/smoke/ |
H A D | modf_test.cpp | 13 LIST_MODF_TESTS(double, LIBC_NAMESPACE::modf)
|
/llvm-project/libc/src/math/ |
H A D | modf.h | 1 //===-- Implementation header for modf --------------------------*- C++ -*-===// 16 double modf(double x, double *iptr);
|
/llvm-project/clang/test/Headers/Inputs/include/ |
H A D | cmath | 117 double modf(double, double *); 118 float modf(float, float *); 209 using ::modf;
|
/llvm-project/libcxx/test/std/depr/depr.c.headers/ |
H A D | math_h.pass.cpp | 54 Ambiguous modf(Ambiguous, Ambiguous*){ return Ambiguous(); } in modf() function 245 ASSERT_SAME_TYPE(decltype(modf((float)0, (float*)0)), float); in test_modf() 246 ASSERT_SAME_TYPE(decltype(modf((double)0, (double*)0)), double); in test_modf() 247 ASSERT_SAME_TYPE(decltype(modf((long double)0, (long double*)0)), long double); in test_modf() 250 ASSERT_SAME_TYPE(decltype(modf(Ambiguous(), (Ambiguous*)0)), Ambiguous); in test_modf() 252 assert(modf(1., &i) == 0); in test_modf()
|