hwcalc

hwcalc, or hc, is an arbitrary bit witdth calculator.

Documentation

Refer to the man page at docs/man/hc.1, use e.g.

$ man -l docs/man/hc.1

Build

The Cargo package manager can be used to fetch dependencies and build hc:

$ cargo build --release

The resulting binary will be located at target/release/hc.

Install

The makefile has a rule for installing the hc binary and the man page:

```

make install

```

There is also an uninstall rule:

```

make uninstall

```