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.

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.print_as_digit/3 Next: hex.print_uint.print_digit β†’