Home
last modified time | relevance | path

Searched full:double (Results 1 – 25 of 3687) sorted by relevance

12345678910>>...148

/freebsd/lib/msun/src/
H A Dmath.h26 double __ud;
54 #define HUGE_VALL (long double)HUGE_VAL
75 double: d, \
76 long double: ld)(x)
79 __builtin_types_compatible_p(__typeof(x), long double), ld(x), \
81 __builtin_types_compatible_p(__typeof(x), double), d(x), \
87 : (sizeof(x) == sizeof(double)) ? d(x) \
178 int __fpclassifyd(double) __pure2;
180 int __fpclassifyl(long double) __pure2;
182 int __isfinite(double) __pure2;
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_hip_libdevice_declares.h147 // BEGIN DOUBLE
148 __device__ __attribute__((const)) double __ocml_acos_f64(double);
149 __device__ __attribute__((pure)) double __ocml_acosh_f64(double);
150 __device__ __attribute__((const)) double __ocml_asin_f64(double);
151 __device__ __attribute__((pure)) double __ocml_asinh_f64(double);
152 __device__ __attribute__((const)) double __ocml_atan2_f64(double, double);
153 __device__ __attribute__((const)) double __ocml_atan_f64(double);
154 __device__ __attribute__((pure)) double __ocml_atanh_f64(double);
155 __device__ __attribute__((pure)) double __ocml_cbrt_f64(double);
156 __device__ __attribute__((const)) double __ocml_ceil_f64(double);
[all …]
H A D__clang_cuda_math_forward_declares.h28 __DEVICE__ double abs(double);
31 __DEVICE__ double acos(double);
33 __DEVICE__ double acosh(double);
35 __DEVICE__ double asin(double);
37 __DEVICE__ double asinh(double);
39 __DEVICE__ double atan2(double, double);
41 __DEVICE__ double atan(double);
43 __DEVICE__ double atanh(double);
45 __DEVICE__ double cbrt(double);
47 __DEVICE__ double ceil(double);
[all …]
H A Dtgmath.h36 static double _TG_ATTRSp __tg_promote(int);
37 static double _TG_ATTRSp __tg_promote(unsigned int);
38 static double _TG_ATTRSp __tg_promote(long);
39 static double _TG_ATTRSp __tg_promote(unsigned long);
40 static double _TG_ATTRSp __tg_promote(long long);
41 static double _TG_ATTRSp __tg_promote(unsigned long long);
43 static double _TG_ATTRSp __tg_promote(double);
44 static long double _TG_ATTRSp __tg_promote(long double);
46 static double _Complex _TG_ATTRSp __tg_promote(double _Complex);
47 static long double _Complex _TG_ATTRSp __tg_promote(long double _Complex);
[all …]
H A D__clang_cuda_cmath.h44 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs()
60 __DEVICE__ int fpclassify(double __x) { in fpclassify()
91 __DEVICE__ int isinf(double __x) { return ::__isinf(__x); } in isinf()
93 __DEVICE__ int isfinite(double __x) { return ::__isfinited(__x); } in isfinite()
95 __DEVICE__ int isnan(double __x) { return ::__isnan(__x); } in isnan()
102 __DEVICE__ bool isinf(double __x) { return ::__isinf(__x); } in isinf()
104 // For inscrutable reasons, __finite(), the double-precision version of
107 __DEVICE__ bool isfinite(double __x) { return ::__isfinited(__x); } in isfinite()
109 __DEVICE__ bool isnan(double __x) { return ::__isnan(__x); } in isnan()
120 __DEVICE__ bool isgreater(double __x, double __y) { in isgreater()
[all …]
H A D__clang_hip_cmath.h44 __DEVICE__ __CONSTEXPR__ double abs(double __x) { return ::fabs(__x); } in abs()
58 __DEVICE__ __CONSTEXPR__ int fpclassify(double __x) { in fpclassify()
87 __DEVICE__ __CONSTEXPR__ int isinf(double __x) { return ::__isinf(__x); } in isinf()
89 __DEVICE__ __CONSTEXPR__ int isfinite(double __x) { return ::__finite(__x); } in isfinite()
91 __DEVICE__ __CONSTEXPR__ int isnan(double __x) { return ::__isnan(__x); } in isnan()
97 __DEVICE__ __CONSTEXPR__ bool isinf(double __x) { return ::__isinf(__x); } in isinf()
99 __DEVICE__ __CONSTEXPR__ bool isfinite(double __x) { return ::__finite(__x); } in isfinite()
101 __DEVICE__ __CONSTEXPR__ bool isnan(double __x) { return ::__isnan(__x); } in isnan()
110 __DEVICE__ __CONSTEXPR__ bool isgreater(double __x, double __y) { in isgreater()
116 __DEVICE__ __CONSTEXPR__ bool isgreaterequal(double __x, double __y) { in isgreaterequal()
[all …]
/freebsd/include/
H A Dcomplex.h51 #define CMPLX(x, y) ((double complex){ x, y })
53 #define CMPLXL(x, y) ((long double complex){ x, y })
55 #define CMPLX(x, y) __builtin_complex((double)(x), (double)(y))
57 #define CMPLXL(x, y) __builtin_complex((long double)(x), (long double)(y))
63 double cabs(double complex);
65 long double cabsl(long double complex);
66 double complex cacos(double complex);
68 double complex cacosh(double complex);
70 long double complex
71 cacoshl(long double complex);
[all …]
/freebsd/tools/regression/include/tgmath/
H A Dtgmath.c48 double (FNC)(double x) { n_double++; } \
49 long double (FNC ## l)(long double x) { n_long_double++; }
53 double (FNC)(double x, double y) { n_double++; } \
54 long double \
55 (FNC ## l)(long double x, long double y) { n_long_double++; }
59 TYPE (FNC)(double x) { n_double++; } \
60 TYPE (FNC ## l)(long double x) { n_long_double++; }
64 double complex (FNC)(double complex x) { n_double_complex++; } \
65 long double complex \
66 (FNC ## l)(long double complex x) { n_long_double_complex++; }
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcmath51 long double acosl(long double x);
55 long double asinl(long double x);
59 long double atanl(long double x);
63 long double atan2l(long double y, long double x);
67 long double ceill(long double x);
71 long double cosl(long double x);
75 long double coshl(long double x);
79 long double expl(long double x);
83 long double fabsl(long double x);
87 long double floorl(long double x);
[all …]
H A Dmath.h48 long double acosl(long double x);
52 long double asinl(long double x);
56 long double atanl(long double x);
60 long double atan2l(long double y, long double x);
64 long double ceill(long double x);
68 long double cosl(long double x);
72 long double coshl(long double x);
76 long double expl(long double x);
80 long double fabsl(long double x);
84 long double floorl(long double x);
[all …]
H A Dnumbers45 inline constexpr double e = e_v<double>;
46 inline constexpr double log2e = log2e_v<double>;
47 inline constexpr double log10e = log10e_v<double>;
48 inline constexpr double pi = pi_v<double>;
49 inline constexpr double inv_pi = inv_pi_v<double>;
50 inline constexpr double inv_sqrtpi = inv_sqrtpi_v<double>;
51 inline constexpr double ln2 = ln2_v<double>;
52 inline constexpr double ln10 = ln10_v<double>;
53 inline constexpr double sqrt2 = sqrt2_v<double>;
54 inline constexpr double sqrt3 = sqrt3_v<double>;
[all …]
/freebsd/contrib/arm-optimized-routines/math/include/
H A Dmathlib.h14 double arm_math_cospi (double);
16 double arm_math_sinpi (double);
18 double arm_math_tanpi (double);
20 void arm_math_sincospi (double, double *, double *);
40 double arm_math_erf (double);
41 DECL_SIMD_aarch64 double cospi (double);
42 DECL_SIMD_aarch64 double erfinv (double);
43 DECL_SIMD_aarch64 double sinpi (double);
44 DECL_SIMD_aarch64 double tanpi (double);
46 long double erfinvl (long double);
[all …]
/freebsd/crypto/openssl/test/recipes/04-test_params_conversion_data/
H A Dnative_types.txt6 double=0
13 double=6
20 double=-6
28 double=0
35 double=6
43 double=2147483647
51 double=2147483648
59 double=6
66 double=-6
74 double=2147483647
[all …]
/freebsd/contrib/ntp/clockstuff/
H A Dpropdelay.c58 extern double sin (double);
59 extern double cos (double);
60 extern double acos (double);
61 extern double tan (double);
62 extern double atan (double);
63 extern double sqrt (double);
122 static void doit (double, double, double, double, double, char *);
123 static double latlong (char *, int);
124 static double greatcircle (double, double, double, double);
125 static double waveangle (double, double, int);
[all …]
/freebsd/contrib/arm-optimized-routines/math/
H A Dmath_config.h224 asuint64 (double f) in asuint64()
228 double f; in asuint64()
234 static inline double
240 double f; in asdouble()
258 issignaling_inline (double x) in issignaling_inline()
274 static inline double
275 opt_barrier_double (double x) in opt_barrier_double()
287 force_eval_double (double x) in force_eval_double()
298 static inline double
299 opt_barrier_double (double x) in opt_barrier_double()
[all …]
H A Derf.c2 * Double-precision erf(x) function.
26 /* Top 32 bits of a double. */
28 top32 (double x) in top32()
36 double
37 erf (double x) in erf()
52 double y = fma (TwoOverSqrtPiMinusOne, x, x); in erf()
58 double x2 = x * x; in erf()
62 double r1 = fma (x2, PA[1], PA[0]); in erf()
63 double r2 = fma (x2, PA[3], PA[2]); in erf()
64 double r3 = fma (x2, PA[5], PA[4]); in erf()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__math/
H A Drounding_functions.h32 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI double ceil(double __x) _NOEXCEPT { in ceil()
36 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double ceil(long double __x) _NOEXCEPT { in ceil()
41 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double ceil(_A1 __x) _NOEXCEPT { in ceil()
42 return __builtin_ceil((double)__x); in ceil()
50 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI double floor(double __x) _NOEXCEPT { in floor()
54 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double floor(long double __x) _NOEXCEPT { in floor()
59 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double floor(_A1 __x) _NOEXCEPT { in floor()
60 return __builtin_floor((double)__x); in floor()
68 _LIBCPP_HIDE_FROM_ABI long long llrint(double __x) _NOEXCEPT { in llrint()
72 inline _LIBCPP_HIDE_FROM_ABI long long llrint(long double __x) _NOEXCEPT { return __builtin_llrintl… in llrint()
[all …]
H A Dexponential_functions.h32 _LIBCPP_HIDE_FROM_ABI double exp(double __x) _NOEXCEPT { in exp()
36 inline _LIBCPP_HIDE_FROM_ABI long double exp(long double __x) _NOEXCEPT { return __builtin_expl(__x… in exp()
39 inline _LIBCPP_HIDE_FROM_ABI double exp(_A1 __x) _NOEXCEPT { in exp()
40 return __builtin_exp((double)__x); in exp()
48 _LIBCPP_HIDE_FROM_ABI double frexp(double __x, int* __e) _NOEXCEPT { in frexp()
52 inline _LIBCPP_HIDE_FROM_ABI long double frexp(long double __x, int* __e) _NOEXCEPT { in frexp()
57 inline _LIBCPP_HIDE_FROM_ABI double frexp(_A1 __x, int* __e) _NOEXCEPT { in frexp()
58 return __builtin_frexp((double)__x, __e); in frexp()
66 _LIBCPP_HIDE_FROM_ABI double ldexp(double __x, int __e) _NOEXCEPT { in ldexp()
70 inline _LIBCPP_HIDE_FROM_ABI long double ldexp(long double __x, int __e) _NOEXCEPT { in ldexp()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A DREADME.txt138 di_int __fixdfdi( double a);
139 di_int __fixxfdi(long double a);
143 ti_int __fixdfti( double a);
144 ti_int __fixxfti(long double a);
148 su_int __fixunsdfsi( double a);
149 su_int __fixunsxfsi(long double a);
153 du_int __fixunsdfdi( double a);
154 du_int __fixunsxfdi(long double a);
158 tu_int __fixunsdfti( double a);
159 tu_int __fixunsxfti(long double a);
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dulp_wrappers.h19 static double sincos_sin(double x) {(void)cos(x); return sin(x);} in sincos_sin()
20 static double sincos_cos(double x) {(void)sin(x); return cos(x);} in sincos_cos()
59 double modf_frac(double x) { double i; return modf(x, &i); } in modf_frac()
60 double modf_int(double x) { double i; modf(x, &i); return i; } in modf_int()
61 long double modfl_frac(long double x) { long double i; return modfl(x, &i); } in modfl_frac()
62 long double modfl_int(long double x) { long double i; modfl(x, &i); return i; } in modfl_int()
89 static double Z_##func (double x) { return _ZGVnN2v_##func (argd (x))[0]; }
91 static double Z_##func (double x, double y) \
111 double
112 arm_math_sincospi_sin (double x) in arm_math_sincospi_sin()
[all …]
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Derfc.sollya13 t0 = double(erfc(r) * 2^128);
14 t1 = double(2/sqrt(pi) * exp(-r * r) * 2^128);
20 double(2/sqrt(pi));
23 double(1/3);
26 double(2/15);
27 double(1/10);
28 double(2/9);
29 double(2/45);
32 double(1/42);
33 double(1/7);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def359 /// double __acos_finite(double x);
369 /// double __acosh_finite(double x);
379 /// long double __acoshl_finite(long double x);
384 /// long double __acosl_finite(long double x);
389 /// double __asin_finite(double x);
399 /// long double __asinl_finite(long double x);
404 /// double atan2_finite(double y, double x);
414 /// long double atan2l_finite(long double y, long double x);
419 /// double __atanh_finite(double x);
429 /// long double __atanhl_finite(long double x);
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A DDD.h7 long double ld;
9 double hi;
10 double lo;
15 double d;
22 static __inline ALWAYS_INLINE double local_fabs(double x) { in local_fabs()
28 static __inline ALWAYS_INLINE double high26bits(double x) { in high26bits()
34 static __inline ALWAYS_INLINE int different_sign(double x, double y) { in different_sign()
40 long double __gcc_qadd(long double, long double);
41 long double __gcc_qsub(long double, long double);
42 long double __gcc_qmul(long double, long double);
[all …]
H A Dfixunstfti.c1 //===-- lib/builtins/ppc/fixunstfti.c - Convert long double->int128 *-C -*-===//
9 // This file implements converting the 128bit IBM/PowerPC long double (double-
10 // double) data type to an unsigned 128 bit integer.
17 // Convert long double into an unsigned 128-bit integer.
18 __uint128_t __fixunstfti(long double input) { in __fixunstfti()
28 // The long double representation, with the high and low portions of in __fixunstfti()
29 // the long double, and the corresponding bit patterns of each double. in __fixunstfti()
31 long double ld; in __fixunstfti()
32 double d[2]; // [0] is the high double, [1] is the low double. in __fixunstfti()
36 // If the long double is less than 1.0 or negative, in __fixunstfti()
[all …]
/freebsd/lib/libc/arm/aeabi/
H A Daeabi_vfp_double.S34 /* void __aeabi_cdcmpeq(double, double) */
43 /* void __aeabi_cdcmple(double, double) */
52 /* void __aeabi_cdrcmple(double, double) */
61 /* int __aeabi_dcmpeq(double, double) */
73 /* int __aeabi_dcmplt(double, double) */
85 /* int __aeabi_dcmple(double, double) */
97 /* int __aeabi_dcmpge(double, double) */
109 /* int __aeabi_dcmpgt(double, double) */
121 /* int __aeabi_dcmpun(double, double) */
133 /* int __aeabi_d2iz(double) */
[all …]

12345678910>>...148