Searched refs:copysign (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-11-stable/contrib/libstdc++/libmath/
H A Dcopysignf.c38 return copysign (x, y);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_complex_builtins.h30 __a = std::copysign(std::isinf(__a) ? 1 : 0, __a);
31 __b = std::copysign(std::isinf(__b) ? 1 : 0, __b);
33 __c = std::copysign(0, __c);
35 __d = std::copysign(0, __d);
39 __c = std::copysign(std::isinf(__c) ? 1 : 0, __c);
40 __d = std::copysign(std::isinf(__d) ? 1 : 0, __d);
42 __a = std::copysign(0, __a);
44 __b = std::copysign(0, __b);
50 __a = std::copysign(0, __a);
52 __b = std::copysign(
[all...]
H A D__clang_cuda_math_forward_declares.h72 __DEVICE__ double copysign(double, double);
73 __DEVICE__ float copysign(float, float);
233 using ::copysign;
/freebsd-11-stable/lib/msun/i387/
H A Ds_copysign.S39 ENTRY(copysign)
48 END(copysign)
/freebsd-11-stable/lib/msun/src/
H A Ds_copysign.c17 * copysign(double x, double y)
18 * copysign(x,y) returns a value with the magnitude of x and
26 copysign(double x, double y) function
H A Ds_cproj.c42 return (CMPLX(INFINITY, copysign(0.0, cimag(z))));
H A Ds_ccosh.c75 return (CMPLX(h * cos(y), copysign(h, x) * sin(y)));
79 return (CMPLX(creal(z), cimag(z) * copysign(1, x)));
98 return (CMPLX(y - y, x * copysign(0, y)));
108 return (CMPLX(x * x, copysign(0, x) * y));
H A Ds_csqrt.c76 return (CMPLX(fabs(b - b), copysign(a, b)));
78 return (CMPLX(a, copysign(b - b, b)));
100 result = CMPLX(fabs(b) / (2 * t), copysign(t, b));
H A Ds_scalbn.c49 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */
54 return huge*copysign(huge,x); /*overflow*/
56 return tiny*copysign(tiny,x); /*underflow*/
H A Ds_scalbnl.c62 return huge*copysign(huge,x); /*overflow*/
64 return tiny*copysign(tiny,x); /*underflow*/
H A Ds_ctanh.c107 SET_HIGH_WORD(x, hx - 0x40000000); /* x = copysign(1, x) */
108 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y))));
125 return (CMPLX(copysign(1, x),
H A Dcatrig.c310 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y)));
328 return (CMPLX(copysign(rx, x), copysign(ry, y)));
448 return (CMPLX(fabs(ry), copysign(rx, cimag(z))));
592 return (CMPLX(copysign(0, x), y + y));
595 return (CMPLX(copysign(0, x),
596 copysign(pio2_hi + pio2_lo, y)));
607 copysign(pio2_hi + pio2_lo, y)));
631 return (CMPLX(copysign(r
[all...]
H A Ds_csinh.c75 return (CMPLX(copysign(h, x) * cos(y), h * sin(y)));
79 return (CMPLX(creal(z) * copysign(1, x), cimag(z)));
H A Ds_fma.c84 /* hibits += (int)copysign(1.0, sum.hi * sum.lo) */
121 /* hibits += (int)copysign(1.0, sum.hi * sum.lo) */
238 zs = copysign(DBL_MIN, zs);
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dcopysign.c135 copysign (double x, double y) function
147 copysign (double x, double y) function
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dcopysign.c135 copysign (double x, double y) function
147 copysign (double x, double y) function
/freebsd-11-stable/lib/msun/bsdsrc/
H A Db_exp.c47 * copysign(x,y)
103 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */
148 k = z + copysign(.5, x);
/freebsd-11-stable/lib/msun/tests/
H A Dnext_test.c100 test##prec(copysign##prec(1.0, nextafter##prec(0.0, -0.0)), -1.0, 0); \
101 test##prec(copysign##prec(1.0, nextafter##prec(-0.0, 0.0)), 1.0, 0); \
102 test##prec(copysign##prec(1.0, nexttoward##prec(0.0, -0.0)), -1.0, 0);\
103 test##prec(copysign##prec(1.0, nexttoward##prec(-0.0, 0.0)), 1.0, 0)
H A Dctrig_test.c328 copysign(0, cos(nums[i]))), DBL_ULP());
330 -copysign(0, sin(nums[i]))), DBL_ULP());
341 copysign(0, cosf(nums[i]))), FLT_ULP());
343 -copysign(0, sinf(nums[i]))), 2 * FLT_ULP());
348 test_odd_tol(csinh, z, CMPLXL(copysign(0, cos(nums[i])),
351 copysign(0, sin(nums[i]))), DBL_ULP());
357 test_odd_tol(csinhf, z, CMPLXL(copysign(0, cosf(nums[i])),
360 copysign(0, sinf(nums[i]))), FLT_ULP());
/freebsd-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h50 using std::tr1::copysign;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dint_math.h61 #define crt_copysign(x, y) copysign((x), (y))
/freebsd-11-stable/lib/msun/
H A DMakefile157 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cpow.3 csqrt.3 erf.3 \
192 MLINKS+=copysign.3 copysignf.3 copysign.3 copysignl.3
/freebsd-11-stable/include/
H A Dtgmath.h166 #define copysign(x, y) __tg_simple2(x, y, copysign) macro
/freebsd-11-stable/gnu/lib/libstdc++/
H A Dconfig.h42 /* Define to 1 if you have the `copysign' function. */
836 # define copysign _copysign macro
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.c107 TGMACRO_REAL_REAL(copysign)
487 PRINT("copysign",
488 PASS_REAL_REAL_ARG_REAL_RET(copysign));

Completed in 240 milliseconds

12