3 ms·
In general, if some recommendation from IEEE 754 (the floating-point standard) seems strange, its because someone like William Kahan thought about it in great d
by tavianator 2y ago
In general, if some recommendation from IEEE 754 (the floating-point standard) seems strange, its because someone like William Kahan thought about it in great detail and you'd be wise to follow it.
https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even