Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

from_u32

numeric.type.from_u32

(v u32)
 => 
numeric.this.type
the value corresponding to v in whatever integer implementation we have

we use a less *obvious* algorithm than induction via v-1 here to
reduce complexity to O(log(v)).
0.098dev (GIT hash 41393d034e270802c080bc50347b2df78c70fe43)
last changed: 2026-07-15