Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Rounding
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Rounding half to odd==== One may also '''round half to odd''', a similar tie-breaking rule to round half to even. In this approach, if the fractional part of {{mvar|x}} is 0.5, then {{mvar|y}} is the odd integer nearest to {{mvar|x}}. Thus, for example, 23.5 becomes 23, as does 22.5; while β23.5 becomes β23, as does β22.5. This method is also free from positive/negative bias and bias toward/away from zero, provided the numbers to be rounded are neither mostly even nor mostly odd. It also shares the round half to even property of distorting the original distribution, as it increases the probability of odds relative to evens. It was the method used for bank balances in the [[United Kingdom]] when it decimalized its currency<ref>Schedule 1 of the Decimal Currency Act 1969</ref>{{clarify|reason=Needs a complete reference.|date=May 2023}}. This variant is almost never used in computations, except in situations where one wants to avoid increasing the scale of floating-point numbers, which have a limited exponent range. With ''round half to even'', a non-infinite number would round to infinity, and a small {{em|[[denormal]]}} value would round to a normal non-zero value. Effectively, this mode prefers preserving the existing scale of tie numbers, avoiding out-of-range results when possible for numeral systems of even [[radix]] (such as binary and decimal).{{clarify|reason=The ''problem'' would be avoided only for halfway numbers. So, how can this be useful in practice? Any practical example?|post-text=(see [[Talk:Rounding#Round half to odd|talk]])|date=September 2017}}.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Rounding
(section)
Add topic