MCPcopy Create free account
hub / github.com/benfry/processing4 / pow

Method pow

core/src/processing/core/PApplet.java:4115–4117  ·  view source on GitHub ↗

Facilitates exponential expressions. The pow() function is an efficient way of multiplying numbers by themselves (or their reciprocal) in large quantities. For example, pow(3, 5) is equivalent to the expression 3 3 3 3 3 and pow(3, -5) is equivalent to 1 / 3 3 3 3 3. @webref ma

(float n, float e)

Source from the content-addressed store, hash-verified

4113 * @see PApplet#sqrt(float)
4114 */
4115 static public final float pow(float n, float e) {
4116 return (float)Math.pow(n, e);
4117 }
4118
4119/**
4120 *

Callers 6

matrixScaleMethod · 0.80
rgbToXyzMethod · 0.80
xyzToLabMethod · 0.80
labToXyzMethod · 0.80
xzyToRgbMethod · 0.80
HandleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected