2. Give two reasons for using a double-precision floating-point variable (type double) instead of a single-precision floating-point variable (type float).
I need to store numbers that have exceptionally large or small magnitude.
I need more precision than what float can offer.
I am interfacing with a library that takes double parameters, not float.
No comments:
Post a Comment