bit.print_hex_uint.print_digitΒΆ

Print one hex digit, but only after the first non-zero digit has been seen (suppresses leading zeros). Inner loop of bit.print_hex_uint.

SignatureΒΆ

def print_digit hex, printed_flag @ continue, ascii, end { ... }

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

ComplexityΒΆ

  • Time: 29@+34

  • Space: 35@+57

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

SourceΒΆ

Depends onΒΆ


← Previous: bit.print_hex_uint Next: bit.print_hex_int β†’