language.types · type ·

ubit2

A nonnegative integer in the unsigned packed bits family. The spelling selects its storage width; use only values representable by that type.

cpulanguagetypeunsigned-packed-bitsyeho

A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.

ubit2

Status: documented

Use ubit2

A nonnegative integer in the unsigned packed bits family. The spelling selects its storage width; use only values representable by that type.

cpu · language · type · type checked

// Start a typed counter or measurement at zero.
ubit2 current = 0
if current == 0 { Console.Log("Ready") }
project.mech
manifestVersion = "2"
package = "api.example.type__ubit2_bbb04b"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

demonhunterlabs/app/lib/yeho-language-reference.ts