{
  "software": "gnumeric",
  "function": "COTH",
  "review_date": "2026-10-12",
  "validation_method": "Independent Python numeric and limited database-criteria models; not a native application or a general spreadsheet parser. Error tokens model documented rules only.",
  "native_application_execution": false,
  "hugo_compiled": false,
  "passed": 8,
  "total": 8,
  "scope": "Explicit examples only, not every input or application version. Expected error tokens are documented rules, not observed native error outputs.",
  "official_references": [
    "https://gnome.pages.gitlab.gnome.org/gnumeric/manual/CATEGORY_Mathematics.html#gnumeric-function-COTH",
    "https://gnome.pages.gitlab.gnome.org/gnumeric-web/functions.shtml",
    "https://support.microsoft.com/en-us/office/coth-function-2e0b4cb6-0ba0-403e-aed4-deaa71b49df5",
    "https://github.com/GNOME/gnumeric/blob/GNUMERIC_1_12_62/src/sf-trig.c"
  ],
  "examples": [
    {
      "case_id": 126,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A2)",
      "operation": "coth",
      "args": [
        -2
      ],
      "expected": -1.037314721,
      "native_executed": false,
      "model_result": -1.0373147207275482,
      "passed": true
    },
    {
      "case_id": 127,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A3)",
      "operation": "coth",
      "args": [
        -1
      ],
      "expected": -1.313035285,
      "native_executed": false,
      "model_result": -1.3130352854993315,
      "passed": true
    },
    {
      "case_id": 128,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A4)",
      "operation": "coth",
      "args": [
        -0.5
      ],
      "expected": -2.163953414,
      "native_executed": false,
      "model_result": -2.163953413738653,
      "passed": true
    },
    {
      "case_id": 129,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A5)",
      "operation": "coth",
      "args": [
        0.5
      ],
      "expected": 2.163953414,
      "native_executed": false,
      "model_result": 2.163953413738653,
      "passed": true
    },
    {
      "case_id": 130,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A6)",
      "operation": "coth",
      "args": [
        1
      ],
      "expected": 1.313035285,
      "native_executed": false,
      "model_result": 1.3130352854993315,
      "passed": true
    },
    {
      "case_id": 131,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A7)",
      "operation": "coth",
      "args": [
        2
      ],
      "expected": 1.037314721,
      "native_executed": false,
      "model_result": 1.0373147207275482,
      "passed": true
    },
    {
      "case_id": 132,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A10)-1/A10",
      "operation": "langevin",
      "args": [
        1
      ],
      "expected": 0.3130352855,
      "native_executed": false,
      "model_result": 0.31303528549933146,
      "passed": true
    },
    {
      "case_id": 133,
      "software": "gnumeric",
      "function": "COTH",
      "source_path": "content/gnumeric/functions/coth.md",
      "formula": "=COTH(A11)-1/A11",
      "operation": "langevin",
      "args": [
        2
      ],
      "expected": 0.5373147207,
      "native_executed": false,
      "model_result": 0.5373147207275482,
      "passed": true
    }
  ]
}
