33
u/baconburger2022 Aug 22 '25
First off, the calculator is not wrong.
Secondly, if we apply this to programming, yes. TECHNICALLY we can put num1 over num2 when calculationrequest= “div” and always have a correct answer without actually doing any calculations.
7
Aug 22 '25
[removed] — view removed comment
1
u/baconburger2022 Aug 23 '25
I was trying to push the bounds of lazy programming. Num1/num2 would technically always be correct, however it would need simplification. And can only show up in a fraction.
-5
Aug 22 '25
Don’t you think that if I use a calculator to divide 18 by 7, I obviously want a decimal result rather than just 18/7? I don’t need a calculator for this shit.
5
Aug 22 '25
Calculators will prefer to use symbols, because why are you trying to get the decimal form of 18/7? When is this useful to you?
When the calculator stores it as a symbol, you can now reference it more accurately for larger equations. The moment you convert it to a decimal representation you are losing accuracy.
So sure, maybe at a high school level the decimal value is what you want, but I prefer that my tools be built for professionals and real world use cases.
1
u/DoubleDoube Aug 23 '25
You must be closer to the mathematician mindset than the engineer.
2
Aug 23 '25
Nope, I'm a software engineer.
0
u/DoubleDoube Aug 23 '25
“Pi is 3” engineer mindset, because you’ll get real-world feedback you’ll have to adjust for whether the math was accurate or not.
3
Aug 23 '25
You're taking a little shortcut that is done sometimes, and generalizing it to every problem. Way to make it clear your exposure to engineering is only through memes.
0
u/DoubleDoube Aug 23 '25
Actually I’m generalizing that your tolerance is tiny compared to the precision you actually deal with, as a mindset.
1
Aug 23 '25
Yeah? Please tell me what level of precision I actually deal with. I'm sure you have the specs for all my recent projects, so you know, right?
→ More replies (0)1
u/Disastrous-Team-6431 Aug 23 '25
It absolutely depends. You're making an assumption unbecoming of a programmer. Repeat: "The optimal representation of the solution is domain dependent".
3
2
2
u/TorTheMentor Aug 23 '25
This really tempts me to write the world's most useless calculator. It would be something like this..
18 ÷ 7: "somewhere between 2 and 3, slightly closer to 3."
5!: "5 x 4 x 3 x 2.... you can do it, just try."
1 ÷ 0: "see, this is why no one likes you."
1
1
1
-1
10
Aug 22 '25
[removed] — view removed comment
4
u/M0G7L Aug 23 '25
and female genitalia in between
I always thought it was an arrow. Guess I was wrong...
5
Aug 23 '25
[removed] — view removed comment
6
u/Dry_Artist8822 Aug 23 '25
It is a rational number though. It's not a whole number, but it is rational
110
u/SuperChick1705 Aug 22 '25
not programming
use the S<=>D button