Searched refs:sqrt (Results 26 - 50 of 78) sorted by path

1234

/haiku/src/libs/agg/src/
H A Dagg_trans_warp_magnifier.cpp27 double r = sqrt(dx * dx + dy * dy);
H A Dagg_vpgen_segmentator.cpp39 double len = sqrt(m_dx * m_dx + m_dy * m_dy) * m_approximation_scale;
/haiku/src/libs/glut/
H A Dglut_shapes.c252 alpha = sqrt(2.0 / (3.0 + sqrt(5.0)));
253 beta = 1.0 + sqrt(6.0 / (3.0 + sqrt(5.0)) -
254 2.0 + 2.0 * sqrt(2.0 / (3.0 + sqrt(5.0))));
304 d = sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
412 l = sqrt(w0[0] * w0[0] + w0[1] * w0[1] + w0[2] * w0[2]);
416 l = sqrt(w1[0] * w1[0] + w1[1] * w1[1] + w1[2] * w1[2]);
420 l = sqrt(w
[all...]
/haiku/src/libs/linprog/
H A DLayoutOptimizer.cpp408 double alpha = (a[j][j] < 0 ? sqrt(innerProduct) : -sqrt(innerProduct));
/haiku/src/libs/mapm/
H A Dmapmgues.c25 * 'guesses' for the sqrt, cbrt, log, arcsin, and arccos functions.
63 * guess 1/sqrt instead of sqrt due to new sqrt algorithm
81 * added new sqrt guess function
99 dd = atof(buf); /* sqrt algorithm actually finds 1/sqrt */
100 m_apm_set_double(r, (1.0 / sqrt(dd)));
/haiku/src/libs/print/libprint/
H A DPreview.cpp180 int32 value = int32(sqrt(double(numberOfPagesPerPage)));
/haiku/src/libs/stdc++/legacy/
H A Dcinst.cc147 template c sqrt (ccr);
/haiku/src/preferences/time/
H A DAnalogClock.cpp414 float pRadius = sqrt(pow(point.x, 2) + pow(point.y, 2));
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/
H A Dmathimpl.h34 __inline_mathop (__ieee754_sqrt, sqrt)
/haiku/src/system/libroot/posix/glibc/math/bits/
H A Dmathcalls.h146 __MATHCALL (sqrt,, (_Mdouble_ __x));
149 /* Return `sqrt(X*X + Y*Y)'. */
/haiku/src/tests/kits/game/chart/
H A DChartRender.cpp138 dist = sqrt(x*x + y*y);
/haiku/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp266 float preferredWidth = floor(sqrt(fProduct));
/haiku/src/tests/kits/opengl/demos/gears/
H A Dgears.c130 len = sqrt(u * u + v * v);
/haiku/headers/libs/agg/
H A Dagg_trans_affine.h323 return std::sqrt(x*x + y*y);
407 *x = std::sqrt(sx * sx + shx * shx);
408 *y = std::sqrt(shy * shy + sy * sy);
472 multiply(trans_affine_scaling(std::sqrt(dx * dx + dy * dy) / dist));
510 trans_affine_reflection_unit(x / std::sqrt(x * x + y * y), y / std::sqrt(x * x + y * y))
H A Dagg_trans_perspective.h684 return std::sqrt(x*x + y*y);
724 *x = std::sqrt(sx * sx + shx * shx);
725 *y = std::sqrt(shy * shy + sy * sy);
/haiku/headers/posix/
H A Dmath.h37 #define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */
38 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
39 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
250 extern double sqrt(double x);
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp665 acceleration = 1 + sqrt(deltaX * deltaX + deltaY * deltaY)
/haiku/src/add-ons/screen_savers/flurry/
H A DSmoke.cpp138 mag = f / (float)sqrt(rsquared);
215 mag = f / (float) sqrt(rsquared);
/haiku/src/apps/cortex/MediaRoutingView/
H A DMediaWire.cpp158 length = sqrt(pow(eo.x - so.x, 2) + pow(eo.y - so.y, 2));
/haiku/src/apps/diskusage/
H A DPieView.cpp575 float dist = sqrt(dx * dx + dy * dy);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h603 t = (-b + sqrt(b2ac)) / (2.0 * a);
606 t = (-b - sqrt(b2ac)) / (2.0 * a);
/haiku/src/apps/mandelbrot/
H A DFractalEngine.cpp469 distance = sqrt(zRealSq + zImaginarySq);
/haiku/src/bin/network/ping/
H A Dmain.c251 double stddev = sqrt(fmax(0, tsumsq / num - avg * avg));
/haiku/src/kits/interface/
H A DInterfaceDefs.cpp988 int32 squareRoot = (int32)sqrt(count);
/haiku/src/kits/shared/
H A DExpressionParser.cpp697 } else if (strcasecmp("sqrt", token.string.String()) == 0) {
702 return _ParseFactorial(values[0].sqrt());
760 * (MAPM(2) * MAPM(MM_PI) * value).sqrt()

Completed in 416 milliseconds

1234