Some updates to exponent.hpp, added test_exponent.cpp, hope should help :)