{
  "kind": "合成对照输入与本地模型/解析结果，非设备实测",
  "article": "https://qifudev.com/article/integer-unsigned-add-carry/",
  "tool": "https://qifudev.com/tools/c-integer-add/",
  "model": "无符号结果=(a+b) mod2^bits；有符号和必须在[−2^(bits−1),2^(bits−1)−1]内",
  "inputs": {
    "a": "255",
    "b": "1",
    "bits": "8",
    "signed": "no"
  },
  "outputs": {
    "mathematical": "256",
    "stored": "0",
    "status": "无符号模回绕",
    "hex": "0x00"
  },
  "extra_checks": [],
  "warnings": [
    "模型假设两操作数已成为所选宽度的同一类型，且加法就在该类型内进行。C源码的8/16位整数通常先提升为int；本页不模拟提升、混合符号或编译器扩展。"
  ],
  "limitation": "8/16/32/64位，输入须在相应范围内，精确结果用字符串。不解析C源码，不模拟整数提升/混合类型；C中8/16位通常先提升为int，不能直接套用此8位模型解释表达式。",
  "source": {
    "label": "WG14 N1570：6.2.5、6.3.1.1与6.5的整数规则",
    "url": "https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf"
  },
  "measured": {
    "device": null,
    "firmware": null,
    "instrument": null,
    "conditions": null,
    "raw_result": null,
    "verdict": null
  }
}
