bit.print_hex_intΒΆ

print x[:n] as a signed 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_int n, x, x_prefix @ do_print, end, neg { ... }

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

ComplexityΒΆ

  • Time: n(7@+13)

  • Space: n(7@+13)

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

SourceΒΆ

Depends onΒΆ


← Previous: bit.print_hex_uint.print_digit Next: bit.print_dec_uint β†’