MCPcopy Index your code
hub / github.com/processing/processing / div

Method div

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

@webref intlist:method @brief Divide a value

(int index, int amount)

Source from the content-addressed store, hash-verified

519 * @brief Divide a value
520 */
521 public void div(int index, int amount) {
522 if (index < count) {
523 data[index] /= amount;
524 } else {
525 boundsProblem(index, "div");
526 }
527 }
528
529
530 private void checkMinMax(String functionName) {

Callers

nothing calls this directly

Calls 1

boundsProblemMethod · 0.95

Tested by

no test coverage detected