mathmatical functions added to decnum.h & decnum.cc

Added mathematical functions to decnum.h & decnum.cc.