def native_nat_max
import stelliferous@0.0.2.0/machine_limits.bend as MachineLimitsimport Base
8# Official v2.0.26 native Nat payloads have 48 bits. Checked metadata products
9# keep each partial value <= U32.max; doubling it and adding a U32 operand is
10# at most 3*U32.max. Binary evidence avoids expanding these bounds in unary.
11def native_nat_max() -> Word(48n):
12 Word.not(48n,Word.zero(48n))