package pp-binary-ints
Module Pp_binary_ints.IntSource
The Flags module contains types to modify how binary integers are printed.
pp_binary_int ~flags ~min_width fmt n prints the integer n on the formatter fmt, customizing the output with ~flags. ~min_width pads the output with enough spaces or zeros so that the output is at least ~min_width characters, depends on flags.padding.
pp_binary_int ~flags ~min_width fmt n prints the integer n on the formatter fmt.
to_string_width ~flags ~min_width n converts the integer n to a binary integer n. customizing the output with ~flags. ~min_width pads the output with enough spaces or zeros so that the output is at least ~min_width characters, depends on flags.padding.
to_string n converts the integer n to a binary integer n.