Searched refs:atan2 (Results 1 - 25 of 28) sorted by relevance

12

/haiku/src/system/libroot/posix/musl/math/x86/
H A Datan2.s1 .global atan2
2 .type atan2,@function
3 atan2: label
H A Dacos.s1 # use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)
/haiku/src/system/libroot/posix/glibc/math/
H A Dk_casinh.c66 __imag__ res = atan2 (s, __imag__ x);
68 __imag__ res = atan2 (ix, s);
76 __imag__ res = atan2 (rx, copysign (s, __imag__ x));
78 __imag__ res = atan2 (s, rx);
89 __imag__ res = atan2 (rx, copysign (s, __imag__ x));
91 __imag__ res = atan2 (s, rx);
106 __imag__ res = atan2 (rx + r1, copysign (ix + r2,
109 __imag__ res = atan2 (ix + r2, rx + r1);
118 __imag__ res = atan2 (sqrt (rx),
121 __imag__ res = atan2 (1.
[all...]
H A Dcarg.c26 return atan2 (__imag__ x, __real__ x);
/haiku/src/system/libroot/posix/musl/math/
H A Datan2.c13 /* atan2(y,x)
15 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
46 double atan2(double y, double x) function
H A Datan2l.c14 * See comments in atan2.c.
23 return atan2(y, x);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ds_catanh.c75 __imag__ res = 0.5 * atan2 (2.0 * __imag__ x, den);
H A Ds_catan.c72 __real__ res = 0.5 * atan2 (2.0 * __real__ x, den);
H A Ds_clog10.c47 __imag__ result = M_LOG10E * atan2 (__imag__ x, __real__ x);
H A Ds_clog.c47 __imag__ result = atan2 (__imag__ x, __real__ x);
/haiku/src/libs/agg/src/
H A Dagg_curves.cpp182 da = fabs(atan2(y3 - y2, x3 - x2) - atan2(y2 - y1, x2 - x1));
492 da1 = fabs(atan2(y4 - y3, x4 - x3) - atan2(y3 - y2, x3 - x2));
526 da1 = fabs(atan2(y3 - y2, x3 - x2) - atan2(y2 - y1, x2 - x1));
563 k = atan2(y3 - y2, x3 - x2);
564 da1 = fabs(k - atan2(y2 - y1, x2 - x1));
565 da2 = fabs(atan2(y4 - y3, x4 - x3) - k);
H A Dagg_trans_affine.cpp167 return std::atan2(y2-y1, x2-x1);
/haiku/headers/libs/mapm/
H A Dm_apm.h127 * add #define atan2 for alias
398 2-ary functions like divide, atan2, etc.
570 MAPM atan2(const MAPM &x,int toDigits) const function in class:MAPM
573 MAPM atan2(const MAPM &x) const function in class:MAPM
574 {return atan2(x,digits(x));}
652 inline MAPM atan2(const MAPM &y,const MAPM &x,int toDigits) function
653 {return y.atan2(x,toDigits);}
654 inline MAPM atan2(const MAPM &y,const MAPM &x) function
655 {return y.atan2(x);}
/haiku/headers/libs/agg/
H A Dagg_conv_marker.h120 m_mtx *= trans_affine_rotation(atan2(y2 - y1, x2 - x1));
H A Dagg_math_stroke.h164 double a1 = atan2(dy1 * m_width_sign, dx1 * m_width_sign);
165 double a2 = atan2(dy2 * m_width_sign, dx2 * m_width_sign);
326 a1 = atan2(dy1, -dx1);
337 a1 = atan2(-dy1, dx1);
H A Dagg_span_gradient.h294 double a = atan2(double(m_focus_y), double(m_focus_x));
370 return uround(fabs(atan2(double(y), double(x))) * double(d) / pi);
H A Dagg_trans_affine.h474 multiply(trans_affine_rotation(std::atan2(dy, dx)));
H A Dagg_trans_perspective.h696 return std::atan2(y2-y1, x2-x1);
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h60 __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x));
/haiku/headers/posix/
H A Dmath.h201 extern double atan2(double x, double y);
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp446 double ta = atan2(uy, ux);
447 double tb = atan2(vy, vx);
/haiku/headers/cpp/std/
H A Dcomplext.h331 return atan2 (imag (x), real (x));
H A Dvalarray_meta.h1037 _DEFINE_EXPR_BINARY_FUNCTION(atan2)
/haiku/src/kits/interface/
H A DAffineTransform.cpp606 return atan2(y2 - y1, x2 - x1);
/haiku/src/kits/shared/
H A DExpressionParser.cpp641 } else if (strcasecmp("atan2", token.string.String()) == 0) {
649 return _ParseFactorial(values[0].atan2(values[1]));

Completed in 506 milliseconds

12