{
  "capability_id": "math.arccos",
  "tool_id": "arccos",
  "engine": "arccos",
  "calculation_version": "1.0.6",
  "generated_at": "2026-10-15T08:30:11.022Z",
  "engine_build": "2026-10-15",
  "test_count": 10,
  "passed": 10,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 5,
      "passed": 5
    },
    "boundary": {
      "total": 5,
      "passed": 5
    },
    "property": {
      "total": 0,
      "passed": 0
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/math/arccos",
  "api": "https://www.calculatorx.com/api/v1/calc/arccos",
  "schema_input": "https://www.calculatorx.com/schemas/math.arccos.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/math.arccos.output.json",
  "assumptions": [
    "Real inverse cosine with principal branch [0, π] (NIST DLMF §4.23(ii)). Complex arccos is not returned.",
    "When x is exactly a listed common value (0, ±1/2, ±√2/2, ±√3/2, ±1), the engine returns the exact algebraic angle such as 60° = π/3. Nearby floats are not snapped."
  ],
  "limitations": [
    "x outside [−1, 1] → NOT_REAL",
    "Missing x → MISSING_REQUIRED_INPUT",
    "Near-common-value hint is display metadata; it does not replace the canonical deg/rad or assert mathematical exactness.",
    "Raw input accepts finite JSON numbers or decimal strings; normalized inputs contain numeric x only. Nonzero text rounded to zero is NUMERIC_UNDERFLOW.",
    "Unknown inputs are UNKNOWN_INPUT; x/xInput conflicts are AMBIGUOUS_INPUT.",
    "Legacy engine test counts are separate from the CVP Manifest suite. CVP identity is included; production status requires the linked report matched by version, revision and digest."
  ],
  "boundary_conditions": [
    "Decimal strings are accepted and normalized to binary64 x. Nonzero decimal text that rounds to zero returns NUMERIC_UNDERFLOW; explicit zero remains valid.",
    "REST/MCP accept only x and xInput; unknown fields return UNKNOWN_INPUT and conflicting aliases return AMBIGUOUS_INPUT.",
    "Missing x returns MISSING_REQUIRED_INPUT.",
    "Non-numeric, object, array, boolean, NaN, or Infinity inputs return INVALID_NUMBER.",
    "x < −1 or x > 1 returns NOT_REAL. Direct user input is not clamped onto the domain, even if |x| − 1 is only a few 1e-13.",
    "arccos(1) = 0°; arccos(0.5) = 60°; arccos(0) = 90°; arccos(−1) = 180°."
  ],
  "sources": [
    {
      "title": "NIST Digital Library of Mathematical Functions, Chapter 4",
      "section": "Elementary Functions",
      "url": "https://dlmf.nist.gov/4",
      "supports": "Inverse trigonometric functions as elementary inverses of sine, cosine, and tangent",
      "kind": "reference"
    },
    {
      "title": "NIST DLMF §4.23",
      "section": "Inverse trigonometric functions; principal values",
      "url": "https://dlmf.nist.gov/4.23",
      "supports": "Principal arccos on [−1, 1] with range [0, π]; degree output is θ × 180/π",
      "kind": "reference",
      "publisher": "National Institute of Standards and Technology"
    },
    {
      "title": "CalculatorX mathematical conventions",
      "section": "Principal branch; exact algebraic values only for exact inputs",
      "supports": "Published engine is arccos(x). Direct inputs outside [−1, 1] are NOT_REAL with no domain clamp.",
      "kind": "definition"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:e4934d43b5d94755afcbc9c5121de55f4cb8ca0159bb912f3c04fe59324f9219",
  "tests": [
    {
      "id": "half",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "x": 0.5
      },
      "expect": {
        "deg": 60
      },
      "expectWarning": null,
      "actual": {
        "deg": 60,
        "rad": 1.0471975511965976,
        "verification": {
          "expression": "cos(result)",
          "value": 0.5000000000000001,
          "passed": true
        },
        "exact": true
      },
      "tol": 0
    },
    {
      "id": "zero",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "x": 0
      },
      "expect": {
        "deg": 90
      },
      "expectWarning": null,
      "actual": {
        "deg": 90,
        "rad": 1.5707963267948966,
        "verification": {
          "expression": "cos(result)",
          "value": 6.123233995736766e-17,
          "passed": true
        },
        "exact": true
      },
      "tol": 0
    },
    {
      "id": "one",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "x": 1
      },
      "expect": {
        "deg": 0,
        "rad": 0
      },
      "expectWarning": null,
      "actual": {
        "deg": 0,
        "rad": 0,
        "verification": {
          "expression": "cos(result)",
          "value": 1,
          "passed": true
        },
        "exact": true
      },
      "tol": 0
    },
    {
      "id": "neg-one",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "x": -1
      },
      "expect": {
        "deg": 180
      },
      "expectWarning": null,
      "actual": {
        "deg": 180,
        "rad": 3.141592653589793,
        "verification": {
          "expression": "cos(result)",
          "value": -1,
          "passed": true
        },
        "exact": true
      },
      "tol": 0
    },
    {
      "id": "out-of-domain",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "x": 2
      },
      "expectError": "NOT_REAL",
      "code": "NOT_REAL",
      "error": "Real inverse sine/cosine requires x in [−1, 1]."
    },
    {
      "id": "missing-x",
      "ok": true,
      "kind": "boundary",
      "inputs": {},
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "Provide x or its alias xInput."
    },
    {
      "id": "x-abc",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "x": "abc"
      },
      "expectError": "INVALID_NUMBER",
      "code": "INVALID_NUMBER",
      "error": "Enter a finite decimal number."
    },
    {
      "id": "no-domain-clamp",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "x": 1.0000000000005
      },
      "expectError": "NOT_REAL",
      "code": "NOT_REAL",
      "error": "Real inverse sine/cosine requires x in [−1, 1]."
    },
    {
      "id": "no-near-exact-snap",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "x": 0.5000000009
      },
      "expect": {
        "deg": 59.99999994045648
      },
      "expectWarning": null,
      "actual": {
        "deg": 59.99999994045648,
        "rad": 1.0471975501573674,
        "verification": {
          "expression": "cos(result)",
          "value": 0.5000000008999999,
          "passed": true
        },
        "hint": {
          "x": 0.5,
          "deg": 60,
          "rad": 1.0471975511965976
        }
      },
      "tol": 1e-8
    },
    {
      "id": "boundary-acos-oor",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "x": -2
      },
      "expectError": "NOT_REAL",
      "code": "NOT_REAL",
      "error": "Real inverse sine/cosine requires x in [−1, 1]."
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 10,
      "total": 10,
      "golden": 5,
      "boundary": 5,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-10-15T07:33:30.941Z",
  "rendered_at": "2026-10-15T08:30:11.022Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.6",
    "artifacts": {
      "engine": "1.0.6",
      "page": "1.0.6",
      "capability": "1.0.6",
      "evidence": "1.0.6",
      "input_schema": "1.0.6",
      "output_schema": "1.0.6",
      "mcp_contract": "1.0.6"
    },
    "digests": {
      "input_schema_sha256": "9a8481028d4f07154adb403fd0defab4c0c750877a85ed9632b4b6d2806c8f6f",
      "output_schema_sha256": "5f74dc67a8255889feda2a9c4475d706c36d9e5ebc64211e94faf752ca5e206e",
      "evidence_sha256": "860fa73b796a0e7942847e96dd179aa7cbbe29f82e982e75b27bccb2eda69378",
      "evidence_core_sha256": "860fa73b796a0e7942847e96dd179aa7cbbe29f82e982e75b27bccb2eda69378",
      "capability_sha256": "17704117bb457f7c350afd5dac86ffd98518ac20ec641c2056519bb4c1c7c090",
      "engine_sha256": "6ef38e64f6a7018cce0538e78ba57c8e2a141f11e8779e9e3f91408a668b7b71",
      "mcp_contract_sha256": "6be5dbc7b824f8cc5d1114039ba0ab708e8ba6184bdf3681d2fcb55cae781a70"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.6"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
