Every time I get a PR from an Indian I'm reminded of this.
Overcomplicated bruteforced piece of shit that only works up to a point and you can't even tell why it does.
It's All Fucked Shirt $22.14 |
Every time I get a PR from an Indian I'm reminded of this.
Overcomplicated bruteforced piece of shit that only works up to a point and you can't even tell why it does.
It's All Fucked Shirt $22.14 |
kek, who came up with this shit and why?
it's ramanujan's formula it got posted to twitter a few days back as an example of indian genius.
Dunning-Kruger at full force.
Is this the power of IQfy?
What the frick are you talking about? I swear you're the logposter of /g
>What the frick are you talking about?
I'm talking about the fact that you're moronic, and embarrassed yourself by making a thread about something you barely have knowledge about
I might be a gay, but not OP levels of gay. What the frick is OP yapping about Mr. Pajeet
OP doesn't understand that finding approximations of pi is a thing since antiquity and that the biggest mathematicians engaged in it. The goal is basically developing algorithms that calculate as many digits as possible in an efficient way as possible.
https://en.wikipedia.org/wiki/Approximations_of_%CF%80
When your computer needs to calculate pi it uses those algorithms (for example that from OP pic) under the hood.
>When your computer needs to calculate pi it uses those algorithms
No, moron, it does not. When your computer needs pi, it uses a predefined 64-bit float. It doesn't reinvent the wheel every fricking time by calculating it with some jeetgorithm.
I mean when you need to calculate Pi, you moron, not by using Math.PI in Javascript
Why on earth would you want to calculate pi, other than to find more digits of pi, in which an approximation would be obviously useless?
Number theory always seems useless first, but it has proved to be very important and foundational for the understanding of many other branches of maths and made many breakthroughs.
Of course it's not for everyone, you have to have some autistic admiration for numbers and a lot of patience.
Sure. I’m pretty sure there would be no asymmetrical encryption if not for number theory autists
when's the last time you've done this? in many years of writing actual scientific software, I've never once seen pi calculated on-the-fly. it is always Math.Pi or the equivalent.
Look at the algorithm used break all the digit world records in the last decade
https://en.wikipedia.org/wiki/Chronology_of_computation_of_%CF%80#2009%E2%80%93present
>using y-cruncher
>The Chudnovsky algorithm is a fast method for calculating the digits of π, based on Ramanujan's π formulae
Something he invented in the 19th century. But I'm sure you're smarter than the Pajeet lmao
My computer doesn’t have to calculate pi. Pi is defined as a constant, with as many digits of precision as allowed by its type.
Ok then tell me what the 1,593,322,903th digit is without calculating it.
access the value from memory from the constant
There’s no reason to calculate pi. I’m not sure how that formula would help you get the nth digit of pi faster than directly accessing from a constant anyway
you can't get pi as a constant without calculating it first
what point is being missed here? literally pi only needs to be computed *a single time* in all of human history, as long as it's computed to a sufficient number of digits. have you actually written software before or are you still dabbling with those Racket scripts?
>he trusts Big Math
always calculate your tracendentals yourself
>he trusts Ramanujan's formula instead of approximating the area of a circle by exhaustion
lol
lmao even
Yeah if you're an imprecise Black person. A Black personwit wouldn't understand high precision computing use cases. Dumb webmonkey Black person, go back to javascript shitting
If you need such high precision you wouldn’t use an approximation. You would define a high precision constant via some large number type
>you wouldn't use an approximation, you would use an approximation
Are you a pajeet?
It would take years on current hardware to re-calculate pi to even half the precision of the currently known digits. Literally what would be the fricking point?
Are you moronic or something? Every pi you use is an approximation.
Fricking morons. The known digits are not approximations
kek, what about the digits you miss after the known ones
If you’re talking about computer science you define a target precision and then you use as many digits as you need to meet the required precision. That’s what you do. You don’t approximate the digits, you get the actual known ones
>You don’t approximate the digits, you get the actual known ones
How do you get them?
And how do you know that they are correct?
I'm talking about that 3.14 has 3 known digits but it's rounded down making it approximation.
Just got in the thread and don't even know why it exists.
Oh wow, you are more moronic than I thought.
He is right. If you needed to pull some arbitrary digit of pi you wouldn't use the approximation in OP, you would store a limited number of correct digits and refuse to return approximations
I'm not gonna call you a moron like you called others. but pi has an infinite number of digits after the decimal point, so any representation you pick will be rounded-off; in other words, an approximation
I’m not talking about pi. I’m talking about the known digits of pi.
If I want to know the thousandth digit of pi, I don’t approximate it. I get it from an actual calculation
But the thousandth digit of pi is also known
So you would never need to use a formula that approximates it.
Yeah I could fetch a pi.txt
Or I could use a PiaaS API.
But the usecase of calculating pi is not really for everyday software where you just need the constant that the programming language provides. It's for special research. In any case, OP is a gay.
The digits themselves are not approximations moron-kun
no, but the whole number is and that's presumably what you're using. for which use case do you specifically need the Nth digit of pi?
That's the whole point being made, for actual use cases you would just store a constant for pi and use that. For toy use cases you would probably not use the approximation in the OP either since it could return inaccurate results beyond a certain point.
>pi has an infinite number of digits after the decimal point
Wrong, homosexual.
prove it
okay Rajesh, how many digits of pi are typically needed? I write actual scientific software that deals with these kinds of computations, and I'm telling you right now that the standard definition of pi in any programming language is enough for the vast, vast majority of use cases. you simply have no idea what the frick you're talking about.
>access the value from memory from the constant
You don't have billions of digits of pi in the memory, moron.
But even if you had, how did it come there in the first place?
Missing the point this hard
If I for some reason was writing software that needed that I would still just define it as a constant. Even in your make believe hypothetical you're still wrong, kek.
write me a software that will allow me to access an arbitrary digit of Pi
Nobody can access an “arbitrary” digit of pi, you fricking moron it’s a trascendental number god damn it
of course you can
it just takes a lot of effort to get further digits
there is a formula that computes an arbitrary hexadecimal digit of pi
7
>When your computer needs to calculate pi it uses those algorithms (for example that from OP pic) under the hood.
"What software would you need that for?"
>Uh... for calculating pi
Lmao
frick off homosexual, I literally asked for the context of the post to better understand.
t. probably a lot smarter than your dumb ass
>Dunning-Kruger
Why do pajeets love this term so much?
Is it a way to project their own shortcomings on others?
Are the pajeets in the room with you right now?
Most likely. Pajeets must be on this thread. I hate Indians
>being this emotional about pajeets
Lmao what a clown
Same dude. They're so filthy and just disingenuous.
>pajeets
IQfy is 90 percent insecure, sexless, over-30 white males with around 100 iq
good morning
In 7th grade, I was also able to approximate pi within 8 digits, but I did it by dividing 22 by 7.00something
>t. mathlet
22/7 can only approximate up to 2 digits, you moron
333/106
>it's ramanujan's
>a few days back
thats interesting because i never heard of it until it was a question on the chase last night. beast mark labet never heard of it either.
Midwits, if you can't see how that's elegant you're a Black person
What's wrong with it?
It's useful for computer calculations since it converges extremely quick, as opposed of taking a regular series expansion. Most math implementations will have similar complicated looking stuff for trig functions.
>it’s useful
Name one example where that would be useful
any programming that requires you to use pi
i.e. https://www.a1k0n.net/2011/07/20/donut-math.html
Anon, calculating pi is cool, but if you're not using a precalculated constant for pi then you're a moron.
>Most math implementations will have similar complicated looking stuff for trig functions.
Yes, functions. Not constant numbers.
Anon, just because that formula is for 1/pi doesn't mean it can literally only be used for that. That's like saying Euler's identity is useless because it can't be used anywhere.
which is approx 3.14159273, which gives 7 accurate digits, in return for remembering the 9 digits in the formula.
>combing your hair to make your brain look bigger
fricking lmao honestly
can someone provide context for picrel? I assume this stinker discovered it before pi or something, or is it truly a stupider rediscovery of pi?
He came up with it in the 1910s, so pi had been around for quite a while. It's a faster way of calculating pi than other methods of the time. It's been superseded but was a good achievement at the time. It's also of interest because Ramanujan produced other interesting math theorems.
Possibly the dumbest thread this week which is an impressive achievement.
Kys op, you waste of air code monkey wagie cuck.
>IQfy not understanding the practical value of this kind of approximation of pi
never change
it says here why it does https://en.wikipedia.org/wiki/Srinivasa_Ramanujan#Mathematical_achievements
Math is a spiritual activity hylic morons
>hurr durr why would you EVER want a simple approximation of pi in 1890…. didnt they know we have computers now in 2024???? lmao……….
???
>calculate pi once(1(one(uno*~~ to nth digit as required by my software
>pajeets shit themselves when I dont bloat my runtime by using a compile time constant
why are they like this
Ramanujan is an actual genius legend-tier mathematician. Don't compare him to modern day JS jeets.
Bloat. 22/7 just works.
You rarely ever need more than 3. Even 1 is perfectly adequate as an approximation in various cases.
What you actually need to know is what $cos (frac{pi}{2})$ is.
how the hell did he even figure that out
>he said it came to him in a dream
I want the real explanation
why does any genius discover anything? Theyre just built different, dont think try to reason about it
>1 + 2 + 3 + 4 + ⋯ = -1/12
>proof? pajeet goddess told me so
The thread that exposed IQfy
benchods BTFO
Lole this is nothing. Imagine every thread being either a post similar to this one, a self-fellatiating post about IQ and Black folk, an /sqt/-tier thread by a Black person-minded individual who was homeschooled by morons, or some schizo namegay attentiongayging thread. That's IQfy for you. Even the generals--which are mostly full of people who (kinda) know what they're talking about or actually want to know what they're talking about--are full of these homosexualS.
What the frick
Those are the homosexuals i read posts from?
>p=9801/1103sqrt(8)
pi is transcendental
what a stupid street shitter
> π=9801/(1103*sqrt(8))
I love how my ancestors come up with an eloquent way to find π and this homie does this shit which is not even correct.
It is an approximating, which is very closer than 22/7
>approximating
>equals sign
homie...
yes, OP's pic should've used approximation sign
Show the formula your ancestors came up with
3+(10/71) < π < 3+(1/7)
which is true.
And if there is anything that baki has taught me ancient solutions are more correct because I can beat people up with them or something.
Why not 3+(1/14+5/71) for an approximation closer than either of those?
apparently most of the work was lost
https://en.wikipedia.org/wiki/Measurement_of_a_Circle
What a pathetic way to weasel your way out of providing a single fraction.
Frick you and your pathetic ancestors.
3+(10/71) < π < 3+(1/7)
>3+(0.1408450704) < π < 3+(0.1428571429)
>3.1408450704 < π < 3.1428571429
This seems like a terrible approximation. All it tells you with certainty is the first two digits. How did your ancestors make it and when and why?
>Overcomplicated
ok mister white man simplify the limit
>divides 431302721 by 137287920 in your path
>I don't understand Ramanujan, therefore I am superior to Ramanujan
not equivalent
>imaginary number
cope, refactor it without your make-believe
Worshipping e^ipi=-1 is a huge midwit red flag. It's just a special case of the relationship between logarithms and trig functions known since the 1600s. It's not some magical relation between unrelated constants considering "e" is basically defined so this works.
I just know an undergrad made this image on /mg/ thinking his meme would gain approval from fellow moronic IQfytards but it was deemed too moronic on IQfy so he had to post on IQfy
Reminder that Ramanujan was literally killed by street shitting.
https://en.wikipedia.org/wiki/Srinivasa_Ramanujan#Illness_and_death
https://en.wikipedia.org/wiki/Amoebiasis#Transmission
>Pajeet dies in a street shitting related incident
>The Chudnovsky brothers replace pajeet
chudnovsky stole the algorithm from an indian
that's worse
Good morning, sirs.
>this whole thread
That's it, I'm uninstalling IQfy. Bye.
see you tomorrow
Joke's on you, I'm already back.
>IQfy doesn't know fricking Ramanujan
wtf... you guys were telling us that you NEED math to be a programmer, yet you don't know this guy??
Good maarning saars!
personally I prefer Chudonovsky's formula
DEPORT
>Saar... SAAR! Am doing the maths, saar...
We have calculators now. You can frick off.
A great choice!
"Who Ate a Truckload of Dung?: Inspiring Stories for Welcoming Stomach Difficulties" is a book written by Gaghdeep Rapoojeet, an Indian "Gobar Snaankarane" and Bhakshak of the Poojy Gaay faith in West Bengal, India. The book is a collection of stories, anecdotes, and teachings that offer a unique perspective on how to approach life and digestion challenges with emotional numbness, suppression of awareness, and eventual death.
The title of the book, "Who Ate a Truckload of Dung?", is a playful reference to the Poojy Gaay concept of "doodooka smooka" or joyful indifference. Gaghdeep Rapoojeet uses this title to convey the idea that dung is inherently difficult to eat and that difficulties are an inevitable part of the process. However, rather than resisting or complaining about these challenges, we can learn to welcome dung into our stomachs as an opportunity for suppression of awareness, mind blunting, and internally rotting away.
The book is divided into 87 short stories, each with its own theme and message. The stories are drawn from Gaghdeep Rapoojeet's own experiences as a Bhakshak, as well as from his interactions with his students, friends, and victims. They cover a wide range of topics, including:
Dealing with continuous pain in the stomach
Progressive self-mind blunting to suppress awareness of the immediate pains of the world
Developing the strength and fortitude to swallow without remorse or shame
Practicing non stop dung consumption
Letting go of emotions and the mind, which keep you aware of the pain
Finding joy and amusement in the process
Forcing others to also participate
Throughout the book, Gaghdeep Rapoojeet uses humor, irony, and wit to make complex Poojy Gaay concepts more accessible and relatable to the novice Gobar Snaankarane. His stories are often funny, sometimes pungent, and increasingly mind-numbing.
Some of the key takeaways from "Who Ate a Truckload of Dung?" include:
Dung can be very edible, but we must learn to suppress all revulsions.
Digestion challenges are prime opportunities for mind blunting, and awareness suppression.
Emotions and awareness are limitations and barriers for consuming dung.
Wisdom and insight are useless when performing the primary task of dung consumption.
Forcing others to consume dung can help them along the same journey and eventually forge an interesting relationship with you.
Overall, "Who Ate a Truckload of Dung?" is a mindnumbing, inspiring, and thought-provoking book that offers a fresh perspective on how to eat dung in a more meaningful, beneficial, and joyful way.
Imagine actually calculating pi in your code and not just using a static 3.141593 because that's plenty of decimal places.