hex.print_int

print the signed x[:n], without leading zeros.

x_prefix (constant): print with the “0x” prefix.
use_uppercase (constant): if true, print in uppercase (else lowercase).

Signature

def print_int n, x, x_prefix, use_uppercase @ do_neg, print, neg, end { ... }

Defined in hex/output.fj — lines 198–213 (view on GitHub).

Complexity

  • Time: n(2@+10)

  • Space: n(4.5@+71)

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

Depends on