hex.print_as_digit (arity 2)ΒΆ

prints the ascii of the hexadecimal representation of hex.

use_uppercase (constant): if true, print in uppercase (else lowercase).

SignatureΒΆ

def print_as_digit hex, use_uppercase @ switch, print_0, print_2, print_4, print_6, print_8, print_a, print_b, print_d, print_f, end < stl.IO { ... }

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

ComplexityΒΆ

  • Time: @+4

  • Space: @+36

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

SourceΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.print/2 Next: hex.print_as_digit/3 β†’