Skip to content
docs
Arxo ↗

LDC-E1306 — Integer literal outside the 64-bit range

For LLMs5 sections

The canonical form stores integers in a fixed 64-bit shape so facts, keys, and joins compare equal across spellings. A literal that does not fit that range cannot be stored, so the compiler stops at the digits instead of truncating them silently.

The repair is to bring the value into range, or to express the quantity in a wider type the program actually needs. What fits lowers exactly as written.

Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
const Huge: Integer = 99999999999999999999999;
Arxo Law
language "law.core" version "0.2";
package demo.diagnostics version "0.1.0";
namespace "urn:law:demo:diagnostics";
const Huge: Integer = 1000000000000000000;

The engine reports this in its own wording:

Output
example.law:5:23: error LDC-E1306: integer 99999999999999999999999 is outside i64 — the §208 canon requires i64

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.