/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | complex_cmath.h | 77 __r = std::complex<_Tp>(INFINITY, copysign(_Tp(0), __c.imag())); in proj() 128 : copysign(_Tp(0), __x.imag())); in sqrt() 130 copysign(__x.real(), __x.imag())); in sqrt() 181 copysign(__pi * _Tp(0.25), __x.imag())); in asinh() 182 return std::complex<_Tp>(__x.real(), copysign(_Tp(0), __x.imag())); in asinh() 192 return std::complex<_Tp>(copysign(__x.imag(), __x.real()), in asinh() 193 copysign(__pi / _Tp(2), __x.imag())); in asinh() 195 return std::complex<_Tp>(copysign(__z.real(), __x.real()), in asinh() 196 copysign(__z.imag(), __x.imag())); in asinh() 210 copysign(__pi * _Tp(0.25), __x.imag())); in acosh() [all …]
|
/freebsd/lib/msun/src/ |
H A D | catrig.c | 309 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y))); in casinh() 327 return (CMPLX(copysign(rx, x), copysign(ry, y))); in casinh() 447 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh() 591 return (CMPLX(copysign(0, x), y + y)); in catanh() 594 return (CMPLX(copysign(0, x), in catanh() 595 copysign(pio2_hi + pio2_lo, y))); in catanh() 606 copysign(pio2_hi + pio2_lo, y))); in catanh() 630 return (CMPLX(copysign(rx, x), copysign(ry, y))); in catanh()
|
H A D | s_ccosh.c | 74 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); in ccosh() 78 return (CMPLX(creal(z), cimag(z) * copysign(1, x))); in ccosh() 97 return (CMPLX(y - y, x * copysign(0, y))); in ccosh() 107 return (CMPLX(x * x, copysign(0, x) * y)); in ccosh()
|
H A D | s_csqrt.c | 64 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt() 66 return (CMPLX(a, copysign(b - b, b))); in csqrt() 104 ry = copysign(scale * t, b); in csqrt()
|
H A D | s_ctanh.c | 107 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh() 126 return (CMPLX(copysign(1, x), in ctanh()
|
H A D | s_csinh.c | 74 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh() 78 return (CMPLX(creal(z) * copysign(1, x), cimag(z))); in csinh()
|
H A D | s_tanpi.c | 152 t = ix == 0 ? copysign(0, odd) : __kernel_tanpi(ax); in tanpi() 170 t = ix >= 0x43400000 ? 0 : (copysign(0, (lx & 1) ? -1 : 1)); in tanpi()
|
H A D | s_copysign.c | 22 copysign(double x, double y) in copysign() function
|
H A D | s_cproj.c | 42 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
|
H A D | s_sinpi.c | 156 return (copysign(0, x)); in sinpi()
|
/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | copysign.h | 28 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI float copysign(float __x, float __y) _NOEXCEPT { in copysign() function 32 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double copysign(long double __x, long double __… in copysign() function 37 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type copysign(_A1 __x,… in copysign() function
|
H A D | special_functions.h | 56 return (__n & 1) ? __math::copysign(__inf, __x) : __inf; in __hermite()
|
/freebsd/lib/msun/i387/ |
H A D | s_copysign.S | 37 ENTRY(copysign) 46 END(copysign)
|
/freebsd/lib/msun/tests/ |
H A D | ctrig_test.c | 319 copysign(0, cos(nums[i]))), DBL_ULP()); in ATF_TC_BODY() 321 -copysign(0, sin(nums[i]))), DBL_ULP()); in ATF_TC_BODY() 332 copysign(0, cosf(nums[i]))), FLT_ULP()); in ATF_TC_BODY() 334 -copysign(0, sinf(nums[i]))), 2 * FLT_ULP()); in ATF_TC_BODY() 339 test_odd_tol(csinh, z, CMPLXL(copysign(0, cos(nums[i])), in ATF_TC_BODY() 342 copysign(0, sin(nums[i]))), DBL_ULP()); in ATF_TC_BODY() 348 test_odd_tol(csinhf, z, CMPLXL(copysign(0, cosf(nums[i])), in ATF_TC_BODY() 351 copysign(0, sinf(nums[i]))), FLT_ULP()); in ATF_TC_BODY()
|
H A D | next_test.c | 98 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \ in ATF_TC_BODY() 99 test##prec(copysign##prec(1.0, nextafter##prec(-0.0, 0.0)), 1.0, 0); \ in ATF_TC_BODY() 100 test##prec(copysign##prec(1.0, nexttoward##prec(0.0, -0.0)), -1.0, 0);\ in ATF_TC_BODY() 101 test##prec(copysign##prec(1.0, nexttoward##prec(-0.0, 0.0)), 1.0, 0) in ATF_TC_BODY()
|
/freebsd/lib/msun/ld128/ |
H A D | s_tanpil.c | 103 t = ar == 0 ? copysign(0., odd) : __kernel_tanpil(ar); in tanpil() 120 t = fmodl(ax,2.L) == 0 ? 0 : copysign(0., -1.); in tanpil()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | complex | 1001 __r = complex<_Tp>(INFINITY, std::copysign(_Tp(0), __c.imag())); 1066 … __x.real(), std::__constexpr_isnan(__x.imag()) ? __x.imag() : std::copysign(_Tp(0), __x.imag())); 1068 … std::__constexpr_isnan(__x.imag()) ? __x.imag() : _Tp(0), std::copysign(__x.real(), __x.imag())); 1079 return complex<_Tp>(std::exp(__x.real()), std::copysign(_Tp(0), __x.imag())); 1137 return complex<_Tp>(__x.real(), std::copysign(__pi * _Tp(0.25), __x.imag())); 1138 return complex<_Tp>(__x.real(), std::copysign(_Tp(0), __x.imag())); 1148 …return complex<_Tp>(std::copysign(__x.imag(), __x.real()), std::copysign(__pi / _Tp(2), __x.imag()… 1150 return complex<_Tp>(std::copysign(__z.real(), __x.real()), std::copysign(__z.imag(), __x.imag())); 1163 return complex<_Tp>(__x.real(), std::copysign(__pi * _Tp(0.25), __x.imag())); 1165 return complex<_Tp>(-__x.real(), std::copysign(__pi * _Tp(0.75), __x.imag())); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 49 __DEVICE__ double copysign(double, double); 50 __DEVICE__ float copysign(float, float); 210 using ::copysign;
|
H A D | __clang_cuda_complex_builtins.h | 36 #define _COPYSIGNd std::copysign 37 #define _COPYSIGNf std::copysign
|
/freebsd/lib/msun/bsdsrc/ |
H A D | b_exp.c | 98 k = z + copysign(0.5, x); in __exp__D()
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
H A D | erfinv_24u5.c | 74 / (copysign (t, x) * horner_9_f64 (t, data.Q_57)); in erfinv()
|
H A D | erfinvl.c | 78 / (copysign (t, x) * horner_9_f64 (t, data.Q_57)); in __erfinv()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_math.h | 61 #define crt_copysign(x, y) copysign((x), (y))
|
/freebsd/include/ |
H A D | tgmath.h | 166 #define copysign(x, y) __tg_simple2(x, y, copysign) macro
|
/freebsd/lib/msun/ |
H A D | Makefile | 174 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cospi.3 \ 210 MLINKS+=copysign.3 copysignf.3 copysign.3 copysignl.3
|