{
  "id": "fn-math-expm1",
  "dataComponent": "math",
  "heading": {
    "title": "expm1",
    "badges": ["Math", "JSMath"]
  },
  "synopsis": "Computes e^x - 1 for a single numeric argument, more accurately for small x than using exp(x)-1.",
  "codeBlocks": [
    "extend(\"math\")\\n\\nsput( math:expm1(0) )\\n# => 0\\n\\nsput( math:expm1(1) )\\n# => ~1.718281828\\n"
  ],
  "notes": [
    "Single numeric argument. This is typically more accurate for small x than (exp(x) - 1)."
  ]
}
