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

Method div

core/src/processing/data/IntList.java:478–484  ·  view source on GitHub ↗

Divide a value. @webref intlist:method @webBrief Divide a value

(int index, int amount)

Source from the content-addressed store, hash-verified

476 * @webBrief Divide a value
477 */
478 public void div(int index, int amount) {
479 if (index < count) {
480 data[index] /= amount;
481 } else {
482 boundsProblem(index, "div");
483 }
484 }
485
486
487 private void checkMinMax(String functionName) {

Callers

nothing calls this directly

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected