Searched refs:sqrt (Results 26 - 50 of 78) sorted by path
1234
/haiku/src/libs/agg/src/ |
H A D | agg_trans_warp_magnifier.cpp | 27 double r = sqrt(dx * dx + dy * dy);
|
H A D | agg_vpgen_segmentator.cpp | 39 double len = sqrt(m_dx * m_dx + m_dy * m_dy) * m_approximation_scale;
|
/haiku/src/libs/glut/ |
H A D | glut_shapes.c | 252 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 D | LayoutOptimizer.cpp | 408 double alpha = (a[j][j] < 0 ? sqrt(innerProduct) : -sqrt(innerProduct));
|
/haiku/src/libs/mapm/ |
H A D | mapmgues.c | 25 * '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 D | Preview.cpp | 180 int32 value = int32(sqrt(double(numberOfPagesPerPage)));
|
/haiku/src/libs/stdc++/legacy/ |
H A D | cinst.cc | 147 template c sqrt (ccr);
|
/haiku/src/preferences/time/ |
H A D | AnalogClock.cpp | 414 float pRadius = sqrt(pow(point.x, 2) + pow(point.y, 2));
|
/haiku/src/system/libroot/posix/glibc/include/arch/m68k/ |
H A D | mathimpl.h | 34 __inline_mathop (__ieee754_sqrt, sqrt)
|
/haiku/src/system/libroot/posix/glibc/math/bits/ |
H A D | mathcalls.h | 146 __MATHCALL (sqrt,, (_Mdouble_ __x)); 149 /* Return `sqrt(X*X + Y*Y)'. */
|
/haiku/src/tests/kits/game/chart/ |
H A D | ChartRender.cpp | 138 dist = sqrt(x*x + y*y);
|
/haiku/src/tests/kits/interface/layout/ |
H A D | LayoutTest1.cpp | 266 float preferredWidth = floor(sqrt(fProduct));
|
/haiku/src/tests/kits/opengl/demos/gears/ |
H A D | gears.c | 130 len = sqrt(u * u + v * v);
|
/haiku/headers/libs/agg/ |
H A D | agg_trans_affine.h | 323 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 D | agg_trans_perspective.h | 684 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 D | math.h | 37 #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 D | MouseInputDevice.cpp | 665 acceleration = 1 + sqrt(deltaX * deltaX + deltaY * deltaY)
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Smoke.cpp | 138 mag = f / (float)sqrt(rsquared); 215 mag = f / (float) sqrt(rsquared);
|
/haiku/src/apps/cortex/MediaRoutingView/ |
H A D | MediaWire.cpp | 158 length = sqrt(pow(eo.x - so.x, 2) + pow(eo.y - so.y, 2));
|
/haiku/src/apps/diskusage/ |
H A D | PieView.cpp | 575 float dist = sqrt(dx * dx + dy * dy);
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 603 t = (-b + sqrt(b2ac)) / (2.0 * a); 606 t = (-b - sqrt(b2ac)) / (2.0 * a);
|
/haiku/src/apps/mandelbrot/ |
H A D | FractalEngine.cpp | 469 distance = sqrt(zRealSq + zImaginarySq);
|
/haiku/src/bin/network/ping/ |
H A D | main.c | 251 double stddev = sqrt(fmax(0, tsumsq / num - avg * avg));
|
/haiku/src/kits/interface/ |
H A D | InterfaceDefs.cpp | 988 int32 squareRoot = (int32)sqrt(count);
|
/haiku/src/kits/shared/ |
H A D | ExpressionParser.cpp | 697 } 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