hex.print_dec_intΒΆ

prints x[:n] as a signed DECIMAL number (without leading zeros).

SignatureΒΆ

def print_dec_int n, x @ do_neg, print, neg, end { ... }

Defined in hex/output.fj β€” lines 230–245 (view on GitHub).

ComplexityΒΆ

  • Time: nd(28@+48) + n(5@+4)  (for d number of decimal digits)

  • Space: n(59@+98)

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

SourceΒΆ

Depends onΒΆ


← Previous: hex.print_dec_uint