Home
last modified time | relevance | path

Searched refs:modf (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/llvm-project/libc/test/src/math/
Dmodf_test.cpp28 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::aQuietNaN), in TEST()
31 valueAsBits(__llvm_libc::modf( in TEST()
35 valueAsBits(__llvm_libc::modf( in TEST()
39 valueAsBits(__llvm_libc::modf( in TEST()
44 __llvm_libc::modf(valueFromBits(BitPatterns::inf), &integral))); in TEST()
48 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negInf), in TEST()
53 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::zero), in TEST()
58 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negZero), in TEST()
66 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(1.0, &integral))); in TEST()
70 valueAsBits(__llvm_libc::modf(-1.0, &integral))); in TEST()
[all …]
/external/skia/tests/sksl/intrinsics/
DModf.glsl10 fraction.x = modf(value.x, whole.x);
12 fraction.xy = modf(value.xy, whole.xy);
14 fraction.xyz = modf(value.xyz, whole.xyz);
16 fraction = modf(value, whole);
DModf.metal15 float _skResult = modf(_var0, _var1);
21 float2 _skResult = modf(_var0, _var1);
27 float3 _skResult = modf(_var0, _var1);
33 float4 _skResult = modf(_var0, _var1);
/external/skia/resources/sksl/intrinsics/
DModf.sksl9 fraction.x = modf(value.x, whole.x);
11 fraction.xy = modf(value.xy, whole.xy);
13 fraction.xyz = modf(value.xyz, whole.xyz);
15 fraction.xyzw = modf(value.xyzw, whole.xyzw);
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dspv.intrinsicsSpirvByReference.vert5 spirv_instruction (set = "GLSL.std.450", id = 35) // modf
6 float modf(float x, spirv_by_reference float i);
19 vec2Out.x = modf(floatIn, vec2Out.y);
D140.frag41 vec2 r1 = modf(v.xy, v.zw); // ERROR, v.zw not l-value
42 vec2 r2 = modf(o.xy, o.zw);
/external/llvm-project/libc/src/math/
Dmodf.cpp14 double LLVM_LIBC_ENTRYPOINT(modf)(double x, double *iptr) { in LLVM_LIBC_ENTRYPOINT() argument
15 return fputil::modf(x, *iptr); in LLVM_LIBC_ENTRYPOINT()
Dmodf.h14 double modf(double x, double *iptr);
Dmodff.cpp15 return fputil::modf(x, *iptr); in LLVM_LIBC_ENTRYPOINT()
Dmodfl.cpp15 return fputil::modf(x, *iptr); in LLVM_LIBC_ENTRYPOINT()
/external/rust/crates/libm/src/math/
Dexp10.rs1 use super::{exp2, modf, pow};
10 let (mut y, n) = modf(x); in exp10()
/external/llvm-project/clang/test/Headers/
Dnvptx_device_math_modf.cpp28 dx = std::modf(x, &ipart); in test_modf()
44 res = modf(1.1, &intpart); in main()
Dnvptx_device_math_functions.cpp20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
Dnvptx_device_cmath_functions.cpp20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
Dnvptx_device_cmath_functions_cxx17.cpp20 double l3 = modf(a1 + 3.5, &a1); in test_sqrt()
/external/llvm-project/libclc/generic/include/clc/math/
Dmodf.inc23 _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);
Dmodf.h23 #define __CLC_BODY <clc/math/modf.inc>
/external/llvm-project/libclc/generic/lib/math/
Dmodf.inc31 _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); \
/external/deqp-deps/glslang/Test/
D140.frag41 vec2 r1 = modf(v.xy, v.zw); // ERROR, v.zw not l-value
42 vec2 r2 = modf(o.xy, o.zw);
/external/deqp/data/gles3/shaders/
Dindexing.test89 modf(5.5, v[u_zero + 3]);
107 modf(5.5, f);
130 modf(g, f);
208 modf(g, f);
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_common.inl463 // modf
465 GLM_FUNC_QUALIFIER genType modf(genType x, genType & i) function
467 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'modf' only accept floating-point inpu…
468 return std::modf(x, &i);
472 GLM_FUNC_QUALIFIER tvec1<T, P> modf(tvec1<T, P> const & x, tvec1<T, P> & i) function
475 modf(x.x, i.x));
479 GLM_FUNC_QUALIFIER tvec2<T, P> modf(tvec2<T, P> const & x, tvec2<T, P> & i) function
482 modf(x.x, i.x),
483 modf(x.y, i.y));
487 GLM_FUNC_QUALIFIER tvec3<T, P> modf(tvec3<T, P> const & x, tvec3<T, P> & i) function
[all …]
/external/llvm-project/libc/fuzzing/math/
Dmath_differential_fuzz.cpp136 &__llvm_libc::modf, &::modf, data, size); in LLVMFuzzerTestOneInput()
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h143 __DEVICE__ double modf(double, double *);
144 __DEVICE__ float modf(float, float *);
238 using ::modf;
/external/llvm-project/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h139 __DEVICE__ double modf(double, double *);
140 __DEVICE__ float modf(float, float *);
249 using ::modf;
/external/ltp/testcases/misc/math/float/
Dfloat_exp_log.c41 {FUNC_MODF, 50, modf, "modf", "modf_inp.ref", "modf_out.ref",

1234567891011