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

/haiku/src/system/libroot/posix/musl/math/x86/
H A Dacosf.s1 # see acos.s
H A Dacosl.s1 # see acos.s
H A Dacos.s1 # use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)
15 .global acos
16 .type acos,@function
17 acos: label
/haiku/src/system/libroot/posix/musl/math/x86_64/
H A Dacosl.s1 # see ../i386/acos.s
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.cpp43 double alpha = acos((b*b + c*c - a*a) / (2*b*c));
44 double beta = acos((a*a + c*c - b*b) / (2*a*c));
69 angle = acos((b*b + c*c - a*a) / (2.0*b*c));
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dmathimpl.h24 __inline_mathop (__ieee754_acos, acos)
/haiku/src/system/libroot/posix/musl/math/
H A Dacosl.c13 * See comments in acos.c.
22 return acos(x);
H A Dacos.c12 /* acos(x)
14 * acos(x) = pi/2 - asin(x)
15 * acos(-x) = pi/2 + asin(x)
17 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
19 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
26 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
60 double acos(double x) function
73 /* acos(1)=0, acos(-1)=pi */
/haiku/headers/libs/agg/
H A Dagg_ellipse.h90 double da = acos(ra / (ra + 0.125 / m_scale)) * 2;
H A Dagg_math_stroke.h166 double da = acos(m_width_abs / (m_width_abs + 0.125 / m_approx_scale)) * 2;
317 double da = acos(m_width_abs / (m_width_abs + 0.125 / m_approx_scale)) * 2;
/haiku/src/libs/agg/src/
H A Dagg_arc.cpp90 m_da = acos(ra / (ra + 0.125 / m_scale)) * 2;
H A Dagg_bezier_arc.cpp214 double start_angle = sign * acos(v);
224 double sweep_angle = sign * acos(v);
/haiku/src/libs/mapm/
H A Dmapmgues.c47 * induce same error for asin and acos
104 * for cbrt, log, asin, and acos we induce an error of 10 ^ -5.
134 * the implementation of the asin & acos functions
155 m_apm_set_double(r, (1.00001 * acos(dd))); /* induce error of 10 ^ -5 */
/haiku/src/apps/glteapot/
H A DQuaternion.h211 return acos(dot(q) / s);
217 float s = 2.0f * acos(m_w);
H A DVector3.h143 return acos(dot(v) / s);
/haiku/src/apps/haiku3d/
H A DQuaternion.h218 return acos(dot(q) / s);
224 float s = 2.0f * acos(m_w);
H A DVector3.h154 return acos(dot(v) / s);
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h54 __MATHCALL (acos,, (_Mdouble_ __x));
/haiku/headers/libs/mapm/
H A Dm_apm.h551 MAPM_1aryFunc(acos)
636 MAPM_1aryFunc(acos)
/haiku/headers/posix/
H A Dmath.h196 extern double acos(double x);
/haiku/src/kits/shared/
H A DExpressionParser.cpp617 } else if (strcasecmp("acos", token.string.String()) == 0) {
625 return _ParseFactorial(values[0].acos());
/haiku/src/libs/icon/shape/
H A DVectorPath.cpp655 double alpha = acos((b * b + c * c - a * a) / (2 * b * c));
656 double beta = acos((a * a + c * c - b * b) / (2 * a * c));
/haiku/headers/cpp/std/
H A Dvalarray_meta.h934 _DEFINE_EXPR_UNARY_FUNCTION(acos)
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs.c1415 void acos() {} function
H A Dlibroot_stubs_legacy.c1344 void acos() {} function

Completed in 196 milliseconds