Ported yet another decades-old tool from C to Ruby
Base-converters ported from C to Ruby