Refactor the radix and exponent marks as namespace constants.
Add a simple test script and Makefile to run it.