{
"id": "fn-math-tan",
"dataComponent": "math",
"heading": {
"title": "tan",
"badges": ["Math", "JSMath"]
},
"synopsis": "Returns the tangent (in radians) of a single numeric argument.",
"codeBlocks": [
"extend(\"math\")\\n\\nsput( math:tan(0) )\\n# => 0\\n\\nsput( math:tan(3.14159/4) )\\n# => ~1\\n\\n# If near π/2 + kπ, may produce large or Infinity."
],
"notes": [
"Accepts exactly 1 numeric argument in radians. If out of normal range, bridging might produce Infinity or error."
]
}