MCPcopy Create free account
hub / github.com/andeya/algorithm / RollP

Function RollP

dice/dice.go:94–96  ·  view source on GitHub ↗

* RollP() generates a new DiceRoll based on the specified parameters. */

(number, faces, adder int, half bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

BenchmarkRollPFunction · 0.85

Calls 1

newDiceRollPFunction · 0.85

Tested by 2

BenchmarkRollPFunction · 0.68