hex.print_uint.print_digit¶
print the ascii of the hexadecimal representation of hex (skip leading zeros, based on printed_something)
printed_something (bit [inout]): have any digit printed yet? (the macro also updates it)
use_uppercase (constant): if true, print in uppercase (else lowercase).
Signature¶
def print_digit hex, printed_something, use_uppercase @ print, end { ... }
Defined in hex/output.fj — lines 182–189 (view on GitHub).
Complexity¶
Time:
2@+6Space:
3@+54
See the complexity glossary for what @, w, dw, dbit, n mean.