hex.print_uint

print the unsigned x[:n], without leading zeros.

x_prefix (constant): print with the “0x” prefix.
use_uppercase (constant): if true, print in uppercase (else lowercase).

Signature

def print_uint n, x, x_prefix, use_uppercase @ after_prefix, printed_something, end { ... }

Defined in hex/output.fj — lines 161–174 (view on GitHub).

Complexity

  • Time: n(2@+6)

  • Space: n(3@+54)

See the complexity glossary for what @, w, dw, dbit, n mean.

Depends on

Used by