bit.print_as_digit (arity 1)

prints the ascii character ‘0’/’1’, based on x’s value.
x is a bit.

Signature

def print_as_digit x { ... }

Defined in bit/output.fj — lines 51–54 (view on GitHub).

Complexity

  • Time: @+9

  • Space: @+9

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

Source

Depends on


← Previous: bit._.print_str_one_char Next: bit.print_as_digit/2