{
  "function": "IMLOG2",
  "software": "LibreOffice Calc",
  "guide": "/libreoffice/functions/imlog2/",
  "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": 5,
  "native_observations": 0,
  "native_cases": [
    {
      "id": "IMLOG2-1",
      "function": "IMLOG2",
      "source_path": "content/libreoffice/functions/imlog2.md",
      "formula": "=IMLOG2(\"1+j\")",
      "inputs": {},
      "expected": [
        0.5,
        1.1330900354567985
      ],
      "kind": "complex",
      "actual": "0.5+1.1330900354568j",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMLOG2-2",
      "function": "IMLOG2",
      "source_path": "content/libreoffice/functions/imlog2.md",
      "formula": "=IMLOG2(\"3+4i\")",
      "inputs": {},
      "expected": [
        2.321928094887362,
        1.3378042124509761
      ],
      "kind": "complex",
      "actual": "2.32192809488736+1.33780421245098i",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMLOG2-3",
      "function": "IMLOG2",
      "source_path": "content/libreoffice/functions/imlog2.md",
      "formula": "=IMLOG2(4)",
      "inputs": {},
      "expected": [
        2.0,
        0.0
      ],
      "kind": "complex",
      "actual": "2",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMLOG2-4",
      "function": "IMLOG2",
      "source_path": "content/libreoffice/functions/imlog2.md",
      "formula": "=IMLOG2(8)",
      "inputs": {},
      "expected": [
        3.0,
        0.0
      ],
      "kind": "complex",
      "actual": "3",
      "native_error": 0,
      "passed": true
    },
    {
      "id": "IMLOG2-5",
      "function": "IMLOG2",
      "source_path": "content/libreoffice/functions/imlog2.md",
      "formula": "=IMLOG2(\"bad\")",
      "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/04060116.html",
    "https://support.microsoft.com/en-us/excel/engineering-functions-reference",
    "https://support.google.com/docs/table/25273"
  ]
}
