mumu 0.11.1

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "id": "fn-math-clz32",
  "dataComponent": "math",
  "heading": {
    "title": "clz32",
    "badges": ["Math", "JSMath"]
  },
  "synopsis": "Counts leading zero bits in the 32-bit unsigned integer representation of the argument.",
  "codeBlocks": [
    "extend(\"math\")\\n\\nsput( math:clz32(1) )\\n# => 31\\n\\nsput( math:clz32(1000) )\\n# => 22\\n"
  ],
  "notes": [
    "Takes 1 numeric argument, converts it to a 32-bit unsigned integer, then counts the leading zero bits in its binary form.",
    "If the argument is 0 or not numeric, the result might be 32 or bridging error for invalid input."
  ]
}