Searched refs:sqrtf (Results 1 - 25 of 30) sorted by path

12

/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h66 return sqrtf(xDiff * xDiff + yDiff * yDiff);
/haiku/src/apps/launchbox/
H A DLaunchButton.cpp216 float dist = sqrtf(diff.x * diff.x + diff.y * diff.y);
/haiku/src/tests/servers/app/playground/
H A DObjectView.cpp328 if (sqrtf(offset.x * offset.x + offset.y * offset.y) > 5.0) {
/haiku/headers/posix/
H A Dmath.h189 extern float sqrtf(float x);
/haiku/src/add-ons/input_server/devices/mouse/
H A Dmovement_maker.cpp189 acceleration = 1 + sqrtf(xDelta * xDelta
/haiku/src/apps/diskusage/
H A DPieView.cpp287 float distance = sqrtf(diff.x * diff.x + diff.y * diff.x);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h786 return sqrtf(w*w + h*h) / sqrtf(2.0f);
859 sl = sqrtf(sw*sw + sh*sh) / sqrtf(2.0f);
902 float sx = sqrtf(t[0]*t[0] + t[2]*t[2]);
903 float sy = sqrtf(t[1]*t[1] + t[3]*t[3]);
2052 static float nsvg__vmag(float x, float y) { return sqrtf(x*x + y*y); }
2097 d = sqrtf(dx*dx + dy*dy);
2116 d = sqrtf(d);
2126 s = sqrtf(s
[all...]
/haiku/src/apps/mediaplayer/
H A DMainWin.cpp2280 = sqrtf(moveDelta.x * moveDelta.x + moveDelta.y * moveDelta.y);
/haiku/src/kits/interface/
H A DGraphicsDefs.cpp47 return (uint8)roundf(sqrtf(
H A DListView.cpp731 float dragDistance = sqrtf(offset.x * offset.x + offset.y * offset.y);
/haiku/src/kits/tracker/
H A DTrackerInitialState.cpp769 = floorf((screen.Frame().Width() - 605) * (sqrtf(5) - 1) / 2);
/haiku/src/libs/icon/shape/
H A DVectorPath.cpp493 float distIn = sqrtf(v.x * v.x + v.y * v.y);
530 float distOut = sqrtf(v.x * v.x + v.y * v.y);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Ds_cacoshf.c86 float ro = sqrtf (sq * sq + 4 * re2 * im2);
87 float a = sqrtf ((sq + ro) / 2.0);
88 float b = sqrtf ((-sq + ro) / 2.0);
H A Ds_csqrtf.c69 __imag__ res = copysignf (sqrtf (-__real__ x),
74 __real__ res = fabsf (sqrtf (__real__ x));
80 float r = sqrtf (0.5 * fabsf (__imag__ x));
94 r = sqrtf (0.5f * d + 0.5f * __real__ x);
99 s = sqrtf (0.5f * d - 0.5f * __real__ x);
/haiku/src/system/libroot/posix/glibc/math/
H A Dk_casinhf.c72 float s = sqrtf ((ix + 1.0f) * (ix - 1.0f));
85 float s = sqrtf (ix2m1);
98 float d = sqrtf (ix2m1 * ix2m1 + f);
101 float r1 = sqrtf ((dm + rx2) / 2.0f);
117 __real__ res = log1pf (2.0f * (rx + sqrtf (rx))) / 2.0f;
119 __imag__ res = atan2f (sqrtf (rx),
122 __imag__ res = atan2f (1.0f, sqrtf (rx));
126 float d = rx * sqrtf (4.0f + rx * rx);
127 float s1 = sqrtf ((d + rx * rx) / 2.0f);
128 float s2 = sqrtf ((
[all...]
/haiku/src/system/libroot/posix/musl/math/
H A Dacosf.c59 s = sqrtf(z);
65 s = sqrtf(z);
H A Dacoshf.c4 #undef sqrtf macro
5 #define sqrtf sqrtl macro
7 #undef sqrtf macro
8 #define sqrtf sqrt macro
20 return log1pf(x-1 + sqrtf((x-1)*(x-1)+2*(x-1)));
23 return logf(2*x - 1/(x+sqrtf(x*x-1)));
H A Dasinhf.c19 x = logf(2*x + 1/(sqrtf(x*x+1)+x));
22 x = log1pf(x + x*x/(sqrtf(x*x+1)+1));
H A Dhypotf.c34 return z*sqrtf((double)x*x + (double)y*y);
H A Dj0f.c50 return invsqrtpi*cc/sqrtf(x);
H A Dj1f.c49 return invsqrtpi*cc/sqrtf(x);
/haiku/src/system/libroot/posix/musl/math/arm/
H A Dsqrtf.c5 float sqrtf(float x) function
13 #include "../sqrtf.c"
/haiku/src/system/libroot/posix/musl/math/arm64/
H A Dsqrtf.c3 float sqrtf(float x) function
/haiku/src/system/libroot/posix/musl/math/ppc/
H A Dsqrtf.c5 float sqrtf(float x) function
13 #include "../sqrtf.c"
/haiku/src/system/libroot/posix/musl/math/riscv64/
H A Dsqrtf.c5 float sqrtf(float x) function
13 #include "../sqrtf.c"

Completed in 113 milliseconds

12