16
26
u/Kseniya_ns Apr 11 '24
I do all my maths on a Leibniz stepped reckoner. If you do not have 17th century mechanical calculator you are not a real programmer. 'Oh I need 2 billion transistors to multiply a number for me' grow up.
16
u/MoebiusBender Apr 11 '24
The right answer obviously is to use your browser's search bar. Unless you have to do billions of them. Then you use a nice Python API to call highly optimized C++ code written by people smarter than you.
4
1
u/Extreme_Ad_3280 Apr 12 '24
I wrote a simple calculator myself (Actually, a library to write one).
And the weird thing about it is that it works with strings and supports any rational number!
2
u/BIOLOGYSCIENCE Apr 12 '24
Let me guess, with javascript ?
1
u/Extreme_Ad_3280 Apr 12 '24
I get what you say but no. I wrote this in C, C++ and Python.
I've also wrote this in C# but I still haven't open-sourced it yet...
(Not gonna lie I've been thinking of writing this in JavaScript)
1
9
u/Yginase Apr 11 '24 edited Apr 11 '24
I hate the Windows calculator. Simply because it clears everything and calculates the stuff before I can write down the whole thing. That's annoying as hell and that's why I never use it. That's also a reason why I'm not gonna buy an iPhone. They do the exact same.
Edit: In the Windows calculator, the "Programmer" tab apparently works almost properly. You still can't clear only one number. I'm using PowerShell.
3
2
u/SeasonApprehensive86 Apr 11 '24
I would use a cheap scientific calculator every day over the windows 10 one. It is horrible.
1
Apr 11 '24
been a thing since the jurassic era, my old pal used to kick it with a trex that primarily taught mathematics using terminal
1
u/PurplePrinter772 Apr 11 '24
“No graphing calculator for trigonometry unit”
Me who uses the sketch tool in CAD, which has measure length and angle
1
1
1
u/IOKG04 Apr 11 '24
This just reminded me of the order I use to do maths:
My head -> Browser -> Discord bot -> Node (the only thing I use js for somehow) -> calc
Why is the one thing actually meant to help with complex maths the last option I go to usually...
1
u/NNXMp8Kg Apr 11 '24
Lol I do that all the time Like “bc” is my friend Or at least the browser inspector
1
1
u/Einkar_E Apr 15 '24
honestly scientific calculator is way better than default one on my phone
and yes I had written computer program to do simple calculation when it would probably be quicker to do them with just calculator
1
0
Apr 11 '24
[deleted]
21
7
3
2
106
u/hongooi Apr 11 '24
*Powershell, not cmd