{
  "id": "python-math-table",
  "kind": "table",
  "slug": "python-math",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/python-math/",
  "title": "math provides common mathematical functions and constants from the C standard. (cheat table)",
  "columns": [
    "topic",
    "fact",
    "source_id"
  ],
  "rows": [
    {
      "topic": "C1",
      "fact": "math provides common mathematical functions and constants from the C standard.",
      "source_id": "S1"
    },
    {
      "topic": "C2",
      "fact": "math functions cannot be used with complex numbers; use cmath instead.",
      "source_id": "S1"
    },
    {
      "topic": "C3",
      "fact": "Except where noted, return values are floats.",
      "source_id": "S1"
    },
    {
      "topic": "C4",
      "fact": "ceil(x) is the smallest integer greater than or equal to x.",
      "source_id": "S1"
    },
    {
      "topic": "C5",
      "fact": "The source docs also point complex work to cmath.",
      "source_id": "S2"
    }
  ],
  "related_slugs": [
    "python-cmath",
    "python-decimal",
    "python-fractions"
  ],
  "license": "CC-BY-4.0",
  "as_of": "2026-11-23",
  "status": "draft"
}
