added 2^k test, floating point exception