Floor & Ceil (RPN-67 vs Excel)
|
05-24-2024, 08:47 PM
(This post was last modified: 05-24-2024 08:57 PM by stilmant.)
Post: #8
|
|||
|
|||
RE: Floor & Ceil (RPN-67 vs Excel)
Hi Again,
What I'm wondering is if you may have used the Round-Toward-Zero algorithm while you were expecting Round-Floor results. Microsoft Excel was designed around the IEEE 754 specification for storing and calculating floating-point numbers. This standard proposes multiple ways of rounding:Directed roundings Could it be that this is why Excel includes multiple modes in the same floor function? Thomas was warning exactly about that in his comment. Here's a nice summary of different rounding algorithms, which might help answer your original question ("why would there be a difference?"): Edit: Source of the Pic + add Thomas Okken credit. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Floor & Ceil (RPN-67 vs Excel) - Matt Agajanian - 05-24-2024, 12:35 AM
RE: Floor & Ceil (RPN-67 vs Excel) - stilmant - 05-24-2024, 07:23 AM
RE: Floor & Ceil (RPN-67 vs Excel) - Thomas Okken - 05-24-2024, 09:29 AM
RE: Floor & Ceil (RPN-67 vs Excel) - dm319 - 05-24-2024, 10:40 AM
RE: Floor & Ceil (RPN-67 vs Excel) - Matt Agajanian - 05-24-2024, 07:03 PM
RE: Floor & Ceil (RPN-67 vs Excel) - dm319 - 05-24-2024, 07:45 PM
RE: Floor & Ceil (RPN-67 vs Excel) - stilmant - 05-24-2024, 08:18 PM
RE: Floor & Ceil (RPN-67 vs Excel) - Matt Agajanian - 05-24-2024, 10:22 PM
RE: Floor & Ceil (RPN-67 vs Excel) - stilmant - 05-24-2024 08:47 PM
|
User(s) browsing this thread: 2 Guest(s)