( begin auto-generated from sq.xml ) Squares a number (multiplies a number by itself). The result is always a positive number, as multiplying two negative numbers always yields a positive result. For example, -1 -1 = 1. ( end auto-generated ) @webref math:calculation @param n number to square @see
(float n)
| 4475 | * @see PApplet#sqrt(float) |
| 4476 | */ |
| 4477 | static public final float sq(float n) { |
| 4478 | return n*n; |
| 4479 | } |
| 4480 | |
| 4481 | /** |
| 4482 | * ( begin auto-generated from sqrt.xml ) |
no outgoing calls
no test coverage detected