Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any math experts know what I'm missing here? [Solved]
#14
Well that's rounding for you, and rounding is tricky. Let's say I want the cube root of 7.997600239992. That is approximately 1.998. Rounding that as 2 would be an error. So then we start to require rules like: Do not round to a whole number if the number the root is extracted from is a decimal, etc., etc., etc.. I'm not sure who wrote the bible on rounding exceptions, but I'm not interested in becoming a disciple.

Pete
Shoot first and shoot people who ask questions, later.
Reply


Messages In This Thread
RE: Any math experts know what I missing here? - by Pete - 09-23-2022, 08:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  _putimage (Solved) Pete 0 224 11-16-2025, 06:48 AM
Last Post: Pete
  random maze map. math help pmackay 4 572 08-10-2025, 11:22 AM
Last Post: pmackay
Tongue Ubuntu 18.0.4 C++ Compilation Failed SOLVED (sorta) Shed_Grill 6 884 07-14-2025, 12:32 AM
Last Post: Shed_Grill
  After using the font, the IDE is ripe for reinstallation SOLVED! Petr 8 1,403 12-12-2024, 04:45 PM
Last Post: Petr
  [Solved] How come CLS clears more than the _DEST image here? Dav 2 769 10-07-2024, 12:14 AM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)