MK_0Join Date: 2010-08-28 Post Count: 1816 |
Just curious what method they use.
|
|
kylerzongJoin Date: 2011-08-06 Post Count: 659 |
what do you mean |
|
cabblerJoin Date: 2015-06-19 Post Count: 735 |
uhh they just stored the proper decimal values in the library |
|
kylerzongJoin Date: 2011-08-06 Post Count: 659 |
yeah I think he is talking about something else cause that's a dumb question |
|
MK_0Join Date: 2010-08-28 Post Count: 1816 |
as in... they are many ways to get pi
22/7, 9/5 + sqrt(9/5), etc...
I just wonder which one they use
|
|
MK_0Join Date: 2010-08-28 Post Count: 1816 |
there*
im tired
|
|
cabblerJoin Date: 2015-06-19 Post Count: 735 |
Pi is a known value so all they had to do is store the known decimals. no calculations. |
|
|
yeah I think he is talking about something else cause that's a dumb question[2]
|
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
Like this.
#define PI (3.14159265358979323846) |
|
MK_0Join Date: 2010-08-28 Post Count: 1816 |
um...
pi is an approximation that is made using different methods and each method has different results than other(and some of these results are obviously more correct than others...)
hence why I was wondering what formula they use.
|
|
MK_0Join Date: 2010-08-28 Post Count: 1816 |
nvm I found it.
thanks everyone for your time.
|
|
cabblerJoin Date: 2015-06-19 Post Count: 735 |
No, in the lower trillions of precision, pi is not an approximation. lol |
|
MK_0Join Date: 2010-08-28 Post Count: 1816 |
@cabbler
You couldn't just leave it alone *sigh*
You should know that almost all representations of pi numerically and inaccurate within the first 4 digits and the probability of it being inconsistent is equal to this:
(50+(100-nth)/2)*100)
this is why I asked this question
|
|
cabblerJoin Date: 2015-06-19 Post Count: 735 |
But it's not the stone age so there is a consensus on what digits are accurate - to trillions. Definitely not in math.pi range. Nothing you say is relevant |
|
|
they use zomoto api with #### services to fetch the closest pie restaurant to the users city ( from tracing ips ) and then order it with robux because why not |
|
|
"22/7, 9/5 + sqrt(9/5)"
None of those are actually pi though. Not even close. Some professionals spend huge amounts of CPU time calculating it and publishing their findings. Pi is an exact number, there's no estimation involved.
|
|