math-mumu 0.1.13

Math functions plugin for the MuMu / Lava language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extend("math")

slog( math:subtract(10, 3) ) // 7

// Parital
sub5 = math:subtract(5)
slog( sub5(2) ) // 3
slog( sub5(9) ) // -4

// Placeholder
minus20 = math:subtract(_, 20)
slog( minus20(50) ) // 30
slog( minus20(5) )  // -15