Answer to Question number-1

Values of type double are more precise, making roundoff error less of a problem. (Unfortunately, there is still some roundoff error.)