This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Math
ImCoolYeah105 edited this page Jun 7, 2018
·
4 revisions
Math functions are called with du:math/<function>
. Arguments are passed using in_<x> du_data
and out_<x> du_data
scores.
in_0: Number to raise to a power
in_1: Power to raise the number to
out_0: in_0^in_1
in_0: Number to perform function on
out_0: | in_0 |
in_0: Generates up to this number
out_0: random number between 0-in_0
.
Allows use of custom seeds. You will need to keep track of the custom seed manually.
in_0: Generates up to this number
in_1: seed
out_0: random number between 0-in_0
.
out_1: new seed
in_0: number to divide
in_1: divisor
out_0: in_0 % in_1