double default precision test, exceptions cleanup