{
  "function": "IMCSCH",
  "software": "LibreOffice Calc",
  "guide": "/libreoffice/functions/imcsch/",
  "review_date": "2026-10-12",
  "scope": "Selected example checks, not certification of every formula, error, locale or cross-application import/export.",
  "native_engine": "LibreOffice 25.2.3.2 520(Build:2)",
  "native_assertions": 7,
  "native_observations": 0,
  "native_cases": [
    {
      "id": "IMCSCH-1",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(\"1+2i\")",
      "inputs": {},
      "expected": [
        -0.22150093085050943,
        -0.6354937992538999
      ],
      "kind": "complex",
      "actual": "-0.221500930850509-0.6354937992539i",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMCSCH-2",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(\"4-3i\")",
      "inputs": {},
      "expected": [
        -0.03627588962862602,
        0.0051744731840193976
      ],
      "kind": "complex",
      "actual": "-0.036275889628626+0.0051744731840194i",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMCSCH-3",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(\"1+2j\")",
      "inputs": {},
      "expected": [
        -0.22150093085050943,
        -0.6354937992538999
      ],
      "kind": "complex",
      "actual": "-0.221500930850509-0.6354937992539j",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMCSCH-4",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(2)",
      "inputs": {},
      "expected": [
        0.2757205647717832,
        0.0
      ],
      "kind": "complex",
      "actual": "0.275720564771783",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMCSCH-5",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(-2)",
      "inputs": {},
      "expected": [
        -0.2757205647717832,
        -0.0
      ],
      "kind": "complex",
      "actual": "-0.275720564771783",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMCSCH-6",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(\"bad\")",
      "inputs": {},
      "expected": 502,
      "kind": "error",
      "actual": 502,
      "native_error": 502,
      "passed": true
    },
    {
      "id": "IMCSCH-7",
      "function": "IMCSCH",
      "source_path": "content/libreoffice/functions/imcsch.md",
      "formula": "=IMCSCH(0)",
      "inputs": {},
      "expected": 502,
      "kind": "error",
      "actual": 502,
      "native_error": 502,
      "passed": true
    }
  ],
  "independent_model_cases": [],
  "documented_expected_results_not_native": false,
  "sources": [
    "https://help.libreoffice.org/latest/en-US/text/scalc/01/func_imcsch.html",
    "https://help.libreoffice.org/latest/en-US/text/scalc/01/04060116.html",
    "https://support.microsoft.com/en-us/excel/functions/imcsch-function"
  ]
}
