{
  "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."
  ]
}
