Home
last modified time | relevance | path

Searched full:float (Results 1 – 25 of 1630) sorted by relevance

12345678910>>...66

/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_hip_libdevice_declares.h21 // BEGIN FLOAT
22 __device__ __attribute__((const)) float __ocml_acos_f32(float);
23 __device__ __attribute__((pure)) float __ocml_acosh_f32(float);
24 __device__ __attribute__((const)) float __ocml_asin_f32(float);
25 __device__ __attribute__((pure)) float __ocml_asinh_f32(float);
26 __device__ __attribute__((const)) float __ocml_atan2_f32(float, float);
27 __device__ __attribute__((const)) float __ocml_atan_f32(float);
28 __device__ __attribute__((pure)) float __ocml_atanh_f32(float);
29 __device__ __attribute__((pure)) float __ocml_cbrt_f32(float);
30 __device__ __attribute__((const)) float __ocml_ceil_f32(float);
[all …]
H A D__clang_cuda_math_forward_declares.h29 __DEVICE__ float abs(float);
32 __DEVICE__ float acos(float);
34 __DEVICE__ float acosh(float);
36 __DEVICE__ float asin(float);
38 __DEVICE__ float asinh(float);
40 __DEVICE__ float atan2(float, float);
42 __DEVICE__ float atan(float);
44 __DEVICE__ float atanh(float);
46 __DEVICE__ float cbrt(float);
48 __DEVICE__ float ceil(float);
[all …]
H A Dtgmath.h42 static float _TG_ATTRSp __tg_promote(float);
45 static float _Complex _TG_ATTRSp __tg_promote(float _Complex);
58 static float
60 __tg_acos(float __x) {return acosf(__x);} in __tg_acos()
70 static float _Complex
72 __tg_acos(float _Complex __x) {return cacosf(__x);} in __tg_acos()
87 static float
89 __tg_asin(float __x) {return asinf(__x);} in __tg_asin()
99 static float _Complex
101 __tg_asin(float _Complex __x) {return casinf(__x);} in __tg_asin()
[all …]
H A D__clang_hip_cmath.h40 __DEVICE__ __CONSTEXPR__ float fabs(float __x) { return ::fabsf(__x); } in fabs()
41 __DEVICE__ __CONSTEXPR__ float sin(float __x) { return ::sinf(__x); } in sin()
42 __DEVICE__ __CONSTEXPR__ float cos(float __x) { return ::cosf(__x); } in cos()
45 __DEVICE__ __CONSTEXPR__ float abs(float __x) { return ::fabsf(__x); } in abs()
48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { in fma()
54 __DEVICE__ __CONSTEXPR__ int fpclassify(float __x) { in fpclassify()
64 __DEVICE__ __CONSTEXPR__ float frexp(float __arg, int *__exp) { in frexp()
70 // `isinf(float)` and `isnan(float)` implementations that return an `int`. We do
86 __DEVICE__ __CONSTEXPR__ int isinf(float __x) { return ::__isinff(__x); } in isinf()
88 __DEVICE__ __CONSTEXPR__ int isfinite(float __x) { return ::__finitef(__x); } in isfinite()
[all …]
H A D__clang_cuda_cmath.h43 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs()
45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos()
46 __DEVICE__ float asin(float __x) { return ::asinf(__x); } in asin()
47 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan()
48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2()
49 __DEVICE__ float ceil(float __x) { return ::ceilf(__x); } in ceil()
50 __DEVICE__ float cos(float __x) { return ::cosf(__x); } in cos()
51 __DEVICE__ float cosh(float __x) { return ::coshf(__x); } in cosh()
52 __DEVICE__ float exp(float __x) { return ::expf(__x); } in exp()
53 __DEVICE__ float fabs(float __x) { return ::fabsf(__x); } in fabs()
[all …]
H A Dxmmintrin.h20 typedef float __v4sf __attribute__((__vector_size__(16)));
21 typedef float __m128 __attribute__((__vector_size__(16), __aligned__(16)));
23 typedef float __m128_u __attribute__((__vector_size__(16), __aligned__(1)));
42 /// Adds the 32-bit float values in the low-order bits of the operands.
49 /// A 128-bit vector of [4 x float] containing one of the source operands.
52 /// A 128-bit vector of [4 x float] containing one of the source operands.
54 /// \returns A 128-bit vector of [4 x float] whose lower 32 bits contain the sum
64 /// Adds two 128-bit vectors of [4 x float], and returns the results of
72 /// A 128-bit vector of [4 x float] containing one of the source operands.
74 /// A 128-bit vector of [4 x float] containing one of the source operands.
[all …]
H A Df16cintrin.h28 /// Converts a 16-bit half-precision float value into a 32-bit float
36 /// A 16-bit half-precision float value.
37 /// \returns The converted 32-bit float value.
38 static __inline float __DEFAULT_FN_ATTRS128
46 /// Converts a 32-bit single-precision float value to a 16-bit
47 /// half-precision float value.
52 /// unsigned short _cvtss_sh(float a, const int imm);
58 /// A 32-bit single-precision float value to be converted to a 16-bit
59 /// half-precision float value.
67 /// \returns The converted 16-bit half-precision float value.
[all …]
H A D__clang_cuda_texture_intrinsics.h150 template <> struct __TypeInfoT<float> {
151 using __base_t = float;
266 // Same, but for normalized float ops.
275 // Regular and normalized float ops share a lot of similarities. This macro
302 __IMPL_S("__tex1D_v2", "__tex1D_rmnf_v2", (float __x), "tex.1d.v4", "f32",
310 (float __x, float __dPdx, float __dPdy), "tex.grad.1d.v4", "f32",
316 (float __x, int __layer), "tex.a1d.v4", "f32",
321 (float __x, int __layer, float __dPdx, float __dPdy),
328 (float __x, int __layer, float __level), "tex.level.a1d.v4", "f32",
333 __IMPL_S("__tex1DLod_v2", "__tex1DLod_rmnf_v2", (float __x, float __level),
[all …]
/freebsd/lib/msun/src/
H A Dmath.h30 unsigned char __uc[sizeof(float)];
31 float __uf;
53 #define HUGE_VALF (float)HUGE_VAL
74 float: f, \
83 __builtin_types_compatible_p(__typeof(x), float), f(x), (void)0)))
86 ((sizeof(x) == sizeof(float)) ? f(x) \
156 #define MAXFLOAT ((float)3.40282346638528860e+38)
179 int __fpclassifyf(float) __pure2;
181 int __isfinitef(float) __pure2;
184 int __isinff(float) __pure2;
[all …]
H A Dcatrigf.c44 #include <float.h>
53 #define raise_inexact() do { volatile float junk __unused = 1 + tiny; } while(0)
57 static const float
70 static const volatile float
74 static float complex clog_for_large_values(float complex z);
76 static inline float
77 f(float a, float b, float hypot_a_b) in f()
87 do_hard_work(float x, float y, float *rx, int *B_is_usable, float *B, in do_hard_work()
88 float *sqrt_A2my2, float *new_y) in do_hard_work()
90 float R, S, A; in do_hard_work()
[all …]
H A De_jnf.c1 /* e_jnf.c -- float version of e_jn.c.
2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
23 static const volatile float vone = 1, vzero = 0;
25 static const float
29 static const float zero = 0.0000000000e+00;
31 float
32 jnf(int n, float x) in jnf()
35 float a, b, temp, di; in jnf()
36 float z, w; in jnf()
56 else if((float)n<=x) { in jnf()
[all …]
H A Ds_log1pf.c1 /* s_log1pf.c -- float version of s_log1p.c.
2 * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
16 #include <float.h>
21 static const float
33 static const float zero = 0.0;
34 static volatile float vzero = 0.0;
36 float
37 log1pf(float x) in log1pf()
39 float hfsq,f,c,s,z,R,u; in log1pf()
48 if(x==(float)-1.0) return -two25/vzero; /* log1p(-1)=+inf */ in log1pf()
[all …]
/freebsd/contrib/arm-optimized-routines/math/include/
H A Dmathlib.h13 float arm_math_cospif (float);
15 float arm_math_sinpif (float);
17 float arm_math_tanpif (float);
19 void arm_math_sincospif (float, float *, float *);
34 float arm_math_erff (float);
35 DECL_SIMD_aarch64 float cospif (float);
36 DECL_SIMD_aarch64 float erfinvf (float);
37 DECL_SIMD_aarch64 float sinpif (float);
38 DECL_SIMD_aarch64 float tanpif (float);
53 DECL_SIMD_aarch64 float acosf (float);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmath.h47 float acosf(float x);
51 float asinf(float x);
55 float atanf(float x);
59 float atan2f(float y, float x);
63 float ceilf(float x);
67 float cosf(float x);
71 float coshf(float x);
75 float expf(float x);
79 float fabsf(float x);
83 float floorf(float x);
[all …]
H A Dcmath50 float acosf(float x);
54 float asinf(float x);
58 float atanf(float x);
62 float atan2f(float y, float x);
66 float ceilf(float x);
70 float cosf(float x);
74 float coshf(float x);
78 float expf(float x);
82 float fabsf(float x);
86 float floorf(float x);
[all …]
/freebsd/include/
H A Dcomplex.h38 #define _Complex_I ((float _Complex)1.0i)
42 _Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
43 "_Complex_I must be of type float _Complex");
52 #define CMPLXF(x, y) ((float complex){ x, y })
56 #define CMPLXF(x, y) __builtin_complex((float)(x), (float)(y))
64 float cabsf(float complex);
67 float complex cacosf(float complex);
69 float complex cacoshf(float complex);
75 float cargf(float complex);
78 float complex casinf(float complex);
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dulp_wrappers.h17 static float sincosf_sinf(float x) {(void)cosf(x); return sinf(x);} in sincosf_sinf()
18 static float sincosf_cosf(float x) {(void)sinf(x); return cosf(x);} in sincosf_cosf()
57 float modff_frac(float x) { float i; return modff(x, &i); } in modff_frac()
58 float modff_int(float x) { float i; modff(x, &i); return i; } in modff_int()
66 static float Z_expf_1u(float x) { return _ZGVnN4v_expf_1u(argf(x))[0]; } in Z_expf_1u()
67 static float Z_exp2f_1u(float x) { return _ZGVnN4v_exp2f_1u(argf(x))[0]; } in Z_exp2f_1u()
79 static float Z_##func##f (float x) \
84 static float Z_##func##f (float x, float y) \
97 float
98 arm_math_sincospif_sin (float x) in arm_math_sincospif_sin()
[all …]
/freebsd/lib/libc/arm/aeabi/
H A Daeabi_vfp_float.S34 /* void __aeabi_cfcmpeq(float, float) */
42 /* void __aeabi_cfcmple(float, float) */
50 /* void __aeabi_cfrcmple(float, float) */
58 /* int __aeabi_fcmpeq(float, float) */
69 /* int __aeabi_fcmplt(float, float) */
80 /* int __aeabi_fcmple(float, float) */
91 /* int __aeabi_fcmpge(float, float) */
102 /* int __aeabi_fcmpgt(float, float) */
113 /* int __aeabi_fcmpun(float, float) */
124 /* int __aeabi_f2iz(float) */
[all …]
/freebsd/contrib/libcbor/src/cbor/
H A Dfloats_ctrls.h20 * Float manipulation
26 * @param item A float or ctrl item
32 /** Get the float width
34 * @param item A float or ctrl item
40 /** Get a half precision float
44 * @param item A half precision float
47 _CBOR_NODISCARD CBOR_EXPORT float cbor_float_get_float2(
50 /** Get a single precision float
54 * @param item A single precision float
57 _CBOR_NODISCARD CBOR_EXPORT float cbor_float_get_float4(
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A DREADME.txt137 di_int __fixsfdi( float a);
142 ti_int __fixsfti( float a);
147 su_int __fixunssfsi( float a);
152 du_int __fixunssfdi( float a);
157 tu_int __fixunssfti( float a);
162 float __floatdisf(di_int a);
167 float __floattisf(ti_int a);
172 float __floatundisf(du_int a);
177 float __floatuntisf(tu_int a);
184 float __powisf2( float a, int b); // a ^ b
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/
H A Datanhf_3u1.c23 static inline float
24 eval_poly (float m) in eval_poly()
27 float p_12 = fmaf (m, C (1), C (0)); in eval_poly()
28 float p_34 = fmaf (m, C (3), C (2)); in eval_poly()
29 float p_56 = fmaf (m, C (5), C (4)); in eval_poly()
30 float p_78 = fmaf (m, C (7), C (6)); in eval_poly()
32 float m2 = m * m; in eval_poly()
33 float p_02 = fmaf (m2, p_12, m); in eval_poly()
34 float p_36 = fmaf (m2, p_56, p_34); in eval_poly()
35 float p_79 = fmaf (m2, C (8), p_78); in eval_poly()
[all …]
H A Dlog1pf_2u1.c16 /* Biased exponent of the largest float m for which m^8 underflows. */
18 /* Biased exponent of the largest float for which we just return x. */
23 static inline float
24 eval_poly (float m, uint32_t e) in eval_poly()
30 float p_12 = fmaf (m, C (1), C (0)); in eval_poly()
31 float p_34 = fmaf (m, C (3), C (2)); in eval_poly()
32 float p_56 = fmaf (m, C (5), C (4)); in eval_poly()
33 float p_78 = fmaf (m, C (7), C (6)); in eval_poly()
35 float m2 = m * m; in eval_poly()
36 float p_02 = fmaf (m2, p_12, m); in eval_poly()
[all …]
H A Dtanf_3u3.c25 static inline float
26 eval_P (float z) in eval_P()
31 static inline float
32 eval_Q (float z) in eval_Q()
39 static inline float
40 reduce (float x, int32_t *in) in reduce()
43 float r = x; in reduce()
44 float q = fmaf (InvPio2, r, Shift); in reduce()
45 float n = q - Shift; in reduce()
56 XI is a reinterpreted float and must be >= 2.0f (the sign bit is ignored).
[all …]
/freebsd/contrib/arm-optimized-routines/math/
H A Dmath_errf.c14 NOINLINE static float
15 with_errnof (float y, int e) in with_errnof()
25 NOINLINE static float
26 xflowf (uint32_t sign, float y) in xflowf()
32 HIDDEN float
41 HIDDEN float
48 HIDDEN float
54 HIDDEN float
57 float y = opt_barrier_float (sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
61 HIDDEN float
[all …]
/freebsd/tools/regression/include/tgmath/
H A Dtgmath.c47 float (FNC ## f)(float x) { n_float++; } \
52 float (FNC ## f)(float x, float y) { n_float++; } \
58 TYPE (FNC ## f)(float x) { n_float++; } \
63 float complex (FNC ## f)(float complex x) { n_float_complex++; }\
69 float (FNC ## f)(float complex x) { n_float_complex++; } \
91 float complex (cpowf)(float complex x, float complex y) { n_float_complex++; } in TGMACRO()
112 float (fmaf)(float x, float y, float z) { n_float++; } in TGMACRO_REAL()
119 float (frexpf)(float x, int *e) { n_float++; } in TGMACRO_REAL_REAL()
124 float (ldexpf)(float x, int e) { n_float++; } in TGMACRO_REAL_FIXED_RET()
138 float (nexttowardf)(float x, long double y) { n_float++; } in TGMACRO_REAL_FIXED_RET()
[all …]

12345678910>>...66