bit.print_dec_uint.print_charΒΆ
if char_flag: print the ascii representation of the decimal digit ascii4[:4].
ascii4 is bit[:4], char_flag is a bit.
SignatureΒΆ
def print_char ascii4, char_flag @ end { ... }
Defined in bit/output.fj β lines 214β219 (view on GitHub).
ComplexityΒΆ
Time:
5@+12Space:
5@+12
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def print_char ascii4, char_flag @ end {
..if0 char_flag, end
rep(4, i) ..output ascii4+i*dw
rep(4, i) stl.output_bit (0x3>>i)&1
end:
}
Depends onΒΆ
β Previous: bit.print_dec_uint.div10_step
Next: bit.print_dec_int β