MCPcopy Index your code
hub / github.com/benfry/processing4 / sqrt

Method sqrt

core/src/processing/core/PApplet.java:4070–4072  ·  view source on GitHub ↗

Calculates the square root of a number. The square root of a number is always positive, even though there may be a valid negative root. The square root s of number a is such that s s = a . It is the opposite of squaring. @webref math:calculation @webBrief Calculates the square r

(float n)

Source from the content-addressed store, hash-verified

4068 * @see PApplet#sq(float)
4069 */
4070 static public final float sqrt(float n) {
4071 return (float)Math.sqrt(n);
4072 }
4073
4074/**
4075 *

Callers 15

rotateImplMethod · 0.95
cameraMethod · 0.95
calcTriangleNormalMethod · 0.95
calcPolyNormalMethod · 0.95
addLineSegment2DMethod · 0.95
vertexMethod · 0.95
PShapeSVGMethod · 0.95
parsePathArctoMethod · 0.95
distMethod · 0.95
rotateMethod · 0.95
rotateMethod · 0.95
hypotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected