Calculation of scientific notation