A polyglot collection of implementations of a mathematical base conversion algorithm