sq()
Math / CalculationDescription
Squares a number (multiplies a number by itself). Same as x*x.
Syntax
float sq(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | number to square |
Returns
floatRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...