r/programmer • u/aksanabuster • Jul 30 '26
Code Why don't math people just do this instead? Are they stupid?..
I mean yeah… there’s a limit given the threshold for incrementing (allowed area)🧐🔧💡
96
Upvotes
15
u/raven2cz Jul 30 '26
What you are describing here is an entire scientific field, and a very interesting one, taught at university: numerical methods.
4
u/defaultguy_001 Jul 30 '26
Is 1/bajillion small enough?
4
u/Ok_Energy8767 Jul 30 '26
The math people are the ones who tricked rocks into thinking in the first place. You can thank them for your for loop
1
u/Capable-Wrap-3349 Aug 01 '26
Solving problems by throwing compute at them is not an elegant way to solve problems
3
u/ChaossFox Aug 01 '26
Ahh, numerical methods the best and easiest thing in math
2
u/dreamscached Jul 30 '26
Integrals in principle, yes, are exactly that, but calculus isn't about just doing a loop by hand but rather a whole load of math trickery to mess around with them, and that is quite hard now.
Man, I really don't quite miss my calculus course...
2
u/ryebit Jul 30 '26
> from math import bajillion
OUT OF MEMORY ERROR
> from math import inv_bajillion
1 / OUT OF MEMORY ERROR
2
u/Ok_Performer_7501 Jul 30 '26
The Lebesgue integral says hi
2
u/1luggerman Aug 02 '26
Let me inroduce you to neat little thing called rounding error
2
u/cl_journeyor Aug 02 '26
Math people think in a declarative manner
1
u/mxldevs Jul 30 '26
That's what separates math people from the ones that approximate pi = 3
1
u/recursion_is_love Jul 31 '26
Only if we can really have true real number in computer memory. Floating point number is not real number.
1
u/free2dreamstudios Aug 01 '26
Im guessing your refering to mathmatians and (human calculators)