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 73–89 (view on GitHub).

Complexity

  • Time: n(7@+11)

  • Space: n(7@+11)

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

Depends on

Used by