2 ms·
it would be very confusing to have both functions go by the same name. Very often you want the floating-point valued square root of an integer. Having the two
by enriquto 5y ago
it would be very confusing to have both functions go by the same name. Very often you want the floating-point valued square root of an integer. Having the two functions with different names is much clearer, and better than forcing a conversion just to dispatch another function that performs a different computation.