{
  "id": 19619440,
  "title": "Solving Carpenter 1/16\" Tape Rounding and IES Lighting Grids in Vanilla JS",
  "url": "https://urgent.news/2026/11/12/solving-carpenter-1-16-tape-rounding-and-ies-lighting-grids-in",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-12T07:48:49.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kaiyilu/solving-carpenter-116-tape-rounding-and-ies-lighting-grids-in-vanilla-js-399o"
  },
  "original_language": "en",
  "account": "This article explains three geometry problems that can occur when trying to use basic floating-point math in JavaScript for real-world layout calculations in residential framing and ceiling lighting. It covers floating-point rounding errors, stair rake projection inaccuracies, and the IES Zonal Cavity lighting method.",
  "summary": "Floating-point math in JavaScript is straightforward until your output has to survive a real jobsite tape measure or a ceiling full of floor joists and garage door tracks. While building two browser-based layout calculators for residential framing and ceiling lighting, I ran into three geometry problems where naive total / count math quietly fails in the real world. Here is how the underlying…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}