An Erlang decimal arithmetic library