bit.print_hex_uintΒΆ

print x[:n] as an unsigned hexadecimal number, without leading zeros (digits & capital-letters).

x_prefix (constant): print with the β€œ0x” prefix.

@Assumes n can be divided by 4.

SignatureΒΆ

def print_hex_uint n, x, x_prefix @ after_print_x, printed_flag, end { ... }

Defined in bit/output.fj β€” lines 76–92 (view on GitHub).

ComplexityΒΆ

  • Time: n(7@+11)

  • Space: n(7@+11)

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: bit.print_as_digit/2 Next: bit.print_hex_uint.print_digit β†’