math-mumu 0.2.0-rc.4

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

describe("math:arb basic behaviour", () => {
  it("adds decimals exactly", () => {
    expect_equal( math:arb("0.1 + 0.2"), "0.3" )
  })

  it("handles big‑integer multiplication", () => {
    expect_equal( math:arb("1298912 * 2342334"), "3042485740608" )
  })
})