finished method for conversion of decimal to ieee 754 double precision number