Searched refs:sqrtf (Results 1 – 22 of 22) sorted by relevance
193 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()199 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()
315 return value * sqrtf(powf(width, 2) + powf(height, 2)) / sqrtf(2.0f); in PercentageOfViewport()
89 return sqrtf(m_redDiff * m_redDiff + m_blueDiff * m_blueDiff + m_greenDiff * m_greenDiff); in distance()
240 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()
263 return sqrtf(m_angle * m_angle + m_cx * m_cx + m_cy * m_cy); in distance()
53 float length = sqrtf(m_x * m_x + m_y * m_y + m_z * m_z); in normalize()
40 …return sqrtf((end.x() - start.x()) * (end.x() - start.x()) + (end.y() - start.y()) * (end.y() - st… in distanceLine()
169 float p1p0_length = sqrtf(p1p0.x() * p1p0.x() + p1p0.y() * p1p0.y()); in addArcTo()170 float p1p2_length = sqrtf(p1p2.x() * p1p2.x() + p1p2.y() * p1p2.y()); in addArcTo()214 float orth_p1p2_length = sqrtf(orth_p1p2.x() * orth_p1p2.x() + orth_p1p2.y() * orth_p1p2.y()); in addArcTo()
170 float p1p0_length = sqrtf(p1p0.x() * p1p0.x() + p1p0.y() * p1p0.y()); in addArcTo()171 float p1p2_length = sqrtf(p1p2.x() * p1p2.x() + p1p2.y() * p1p2.y()); in addArcTo()215 float orth_p1p2_length = sqrtf(orth_p1p2.x() * orth_p1p2.x() + orth_p1p2.y() * orth_p1p2.y()); in addArcTo()
432 … distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0); in strokeArc()
123 return (int)floorf(sqrtf(fx*fx + fy*fy) + 0.5f); in fixlen()319 float mag = sqrtf(fx*fx + fy*fy); in setLength()
127 # define sqrtf sqrt macro
55 #define sk_float_sqrt(x) sqrtf(x)
33 #define sqrtf(f) ((float)sqrt(f)) macro222 return sqrtf(a); in float32_sqrt()
118 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f; in createDifferenceImage()
408 …distance = static_cast<int>((piFloat * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0f)) / 2.… in strokeArc()1009 float deviceScaleX = sqrtf(deviceMatrix.a * deviceMatrix.a + deviceMatrix.b * deviceMatrix.b); in roundToDevicePixels()1010 float deviceScaleY = sqrtf(deviceMatrix.c * deviceMatrix.c + deviceMatrix.d * deviceMatrix.d); in roundToDevicePixels()
833 float deviceScaleX = sqrtf(square(deviceMatrix.getScaleX()) in roundToDevicePixels()835 float deviceScaleY = sqrtf(square(deviceMatrix.getSkewX()) in roundToDevicePixels()
151 float newDistance = sqrtf(xDistance * xDistance + yDistance * yDistance); in chunkPortionCallback()
89 inline float sqrtf(float v) { return __sqrtf(v); } in sqrtf() function
1086 return (float) sqrtf(x * x + y * y + z * z); in length()
29422 sqrtf() to operate explicitly on floats.29426 sqrtf and removed narrowPrecisionToFloat.
7572 Change C-style calls to powf and sqrtf to C++-style calls to