Searched refs:sqrt (Results 1 - 25 of 78) sorted by last modified time

1234

/haiku/src/preferences/screen/
H A DScreenMode.cpp404 *_diagonalInches = round(sqrt(info.width * info.width
/haiku/src/bin/network/ping/
H A Dmain.c251 double stddev = sqrt(fmax(0, tsumsq / num - avg * avg));
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp227 return sqrt(x*x + y*y + z*z);
1402 float dz = sqrt(1.0 - (DH_REF*DH_REF + DV_REF*DV_REF) * (0.5 + 0.5/Z_CUT_RATIO) * (0.5 + 0.5/Z_CUT_RATIO));
2589 ratio = (lateral/axial) * sqrt(dist);
/haiku/headers/libs/agg/
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);
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))
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c2459 void sqrt() {} function
H A Dlibroot_stubs.c2468 void sqrt() {} function
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1973 matrix *= agg::trans_affine_scaling(sqrt(dx * dx + dy * dy) / gradient_d2);
/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/screen_savers/flurry/
H A DSmoke.cpp138 mag = f / (float)sqrt(rsquared);
215 mag = f / (float) sqrt(rsquared);
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp685 double s = (float)sqrt(1.0 - numerator / (rx * rx * ry * ry));
693 sqrt(numerator /
/haiku/src/kits/interface/
H A DInterfaceDefs.cpp988 int32 squareRoot = (int32)sqrt(count);
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp665 acceleration = 1 + sqrt(deltaX * deltaX + deltaY * deltaY)
/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()
/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/preferences/input/
H A DSettingsView.cpp197 value = int32(sqrt(fSettings.AccelerationFactor() / 16384.0) * 1000 / 4);
/haiku/src/apps/mandelbrot/
H A DFractalEngine.cpp469 distance = sqrt(zRealSq + zImaginarySq);
/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/system/libroot/posix/musl/math/x86_64/
H A Dsqrt.s1 .global sqrt
2 .type sqrt,@function
3 sqrt: sqrtsd %xmm0, %xmm0 label
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dsqrt.s1 .global sqrt
2 .type sqrt,@function
3 sqrt: fldl 4(%esp) label
H A Dacos.s1 # use acos(x) = atan2(fabs(sqrt((1-x)*(1+x))), x)
/haiku/src/system/libroot/posix/musl/math/
H A Dsqrtl.c6 return sqrt(x);
H A Dsqrt.c12 /* sqrt(x)
13 * Return correctly rounded sqrt.
15 * | Use the hardware sqrt if you have one |
22 * sqrt(x) = 2^k * sqrt(y)
24 * Let q = sqrt(y) truncated to i bit after binary point (q = 1),
73 * sqrt(+-0) = +-0 ... exact
74 * sqrt(inf) = inf
75 * sqrt(-ve) = NaN ... with invalid signal
76 * sqrt(Na
83 double sqrt(double x) function
[all...]
/haiku/src/system/libroot/posix/musl/math/riscv64/
H A Dsqrt.c5 double sqrt(double x) function
13 #include "../sqrt.c"
/haiku/src/system/libroot/posix/musl/math/ppc/
H A Dsqrt.c5 double sqrt(double x) function
13 #include "../sqrt.c"

Completed in 465 milliseconds

1234