mathmatical functions added to decnum.h & decnum.cc