2 ms·
This list seems to be missing something since afaik, IEEE floating point also specifies round-to-even (bankers' rounding) for round to nearest ties. Unless 'FE_
by Aardwolf 3y ago
This list seems to be missing something since afaik, IEEE floating point also specifies round-to-even (bankers' rounding) for round to nearest ties. Unless 'FE_DEC_TONEAREST' is that, the documentation does not say.
https://en.wikipedia.org/wiki/IEEE_754#Roundings_to_nearest https://en.wikipedia.org/wiki/IEEE_754#Roundings_to_nearest
EDIT: apparently IEEE does not specify a "round-to-odd" for ties despite this having been used for banking in the UK :/
https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_odd https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_odd