#Rounding with field width
11 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
it's rounding to the even number
also you can change what gets output here with fesetround
(e.g. if you fesetround(FE_DOWNWARD) beforehand, it outputs 3.2 3.7)
does it always do this?
whats this behaviour called
depends upon the rounding direction as I mentioned
"round to nearest, tie to even"