Posted April 19, 2023
Lexor: 40:30:20.10+4:03:02.01 gives 44:33:22.11000000002 wtf? :D
40:30:20.100+4:03:02.010 gives again 44:33:22.11000000002
But 40:30:20.101+4:03:02.010 gives 44:33:22.111 - weird :D
Uh, now that reminds me of the old jokes about the Intel Pentium floating point division bug. :-) 40:30:20.100+4:03:02.010 gives again 44:33:22.11000000002
But 40:30:20.101+4:03:02.010 gives 44:33:22.111 - weird :D
"Intel inside but it can't divide."
Q&A: THE PENTIUM FDIV BUG
Q: What's another name for the "Intel Inside" sticker they put on
Pentiums?
A1: Warning label.
A2: Truth in advertising.
Q: What do you call a series of FDIV instructions on a Pentium?
A: Successive approximations.
Q: Complete the following word analogy: Add is to Subtract as Multiply
is to
1) Divide
2) ROUND
3) RANDOM
4) On a Pentium, all of the above
A: Number 4.
Q: What algorithm did Intel use in the Pentium's floating point divider?
A: "Life is like a box of chocolates." (Source: F. Gump of Intel)
Q: Why didn't Intel call the Pentium the 586?
A: Because they added 486 and 100 on the first Pentium and got
585.999983605.
Q: According to Intel, the Pentium conforms to the IEEE standards
754 and 854 for floating point arithmetic. If you fly an aircraft
designed using a Pentium, what is the correct pronunciation of
"IEEE"?
A: Aaaaaaaiiiiiiiiieeeeeeeeeeeee!
Q: Why doesn't Quicksort work on a Pentium CPU
A: You can only Conquer, not divide.
But on a more serious note: What you are trying to do should be very easy to code in pretty much any modern language. But if you want to put it online you have to find a way to host it and that can cost a little bit of money. Sadly, I don't know of any already existing solution that works exactly as you described.