[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Why are computers able to store 100000000000000000000000000 but

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 59
Thread images: 7

File: yooler.jpg (160KB, 1200x1200px) Image search: [Google]
yooler.jpg
160KB, 1200x1200px
Why are computers able to store 100000000000000000000000000 but not pie
?

the smaller the number the less space it takes up, so computers should be able to easily store rational numbers like pie.
>>
>>62464041
yes
>>
const int pi = 3;


done.
>>
Pi isn't a number, it's an algorithm
>>
>>62464041
Storage is not the issue, it's finding the exact number. This is dumb.
>>
>>62464100
pie is a ratio, ratios can be represented by numbers

3/1 = 3

pie/1 = pie
>>
>>62464231
a ratio which is impossible to calculate the value of without an algorithm
>>
>>62464041
They can. Write Pi down on some paper and mail it to me. I'll put it in the computers.
>>
>filename
I'm genuinely mad
>>
>>62464041
pie is a transcendental number that cannot be represented exactly in number systems including binary, so you in theory you need infinite storage to store it exactly which is impossible, most numbers are transcendental btw, integers and rational numbers are the exception and even some perfectly represented rational number in decimal cannot be exactly represented in binary like 1/10 and 1/3 for example
>>
>>62464084
>t. engineer
>>
>>62464041
from math import pi
>>
>>62465063
engineer would be

pi = 4
>>
>>62465216
>when math.pi is too complicated, so you need to dumb it down for the brainlets
>>
This is the laziest bate I've ever seen, the fact that people are responding seriously suggests /g/ has an average IQ of 70
>>
>>62465017
>cannot be represented exactly in number systems
It can be, in base π
>>
>>62464098
Cringe
>>
>>62466546
You don't even know the answer. If you knew the answer you would just post it. xD
>>
>>62465216
from math import pi as pie


fix'd
>>
My goodness, half this thread is just retarded
>>
File: chudnovsky.png (3KB, 361x90px) Image search: [Google]
chudnovsky.png
3KB, 361x90px
You guys are all fucking stupid. All a computer needs to store is Chudnovsky algorithm in pic related. Then just put that through a calculator and specify to what accuracy you want it to (AVX-512, FP16, FP64, ect).
>>
File: NumberedEquation36.gif (4KB, 334x49px) Image search: [Google]
NumberedEquation36.gif
4KB, 334x49px
fgt
>>
>>62466568
see >>62466776
>>
>>62466494
This
>>
>>62464041

You're wrong, it's limited by the precision of the computer

3.14 isn't the exact ratio, you need an algo

does the CPU support that algo? at which depth of precision?
>>
>>62464041
Thank you for the question unfortunately nobody read it through to the end except me. pi is not rational.
>>
>>62467218
read this
>>62465017
>>
>>62464041
Hello brainlet.
>>
>>62465017
>cannot be represented exactly in number systems
It can. π is an exact representation. Just as 1/3 is an exact representation.

>most numbers are transcendental btw
It's not even wrong. It just makes no sense. There is an infinite amount of non-transcendental numbers between any two arbitrary transcendental numbers. Just as the other way round.

>even some perfectly represented rational number in decimal cannot be exactly represented in binary like 1/10 and 1/3 for example
1/10 and 1/3 are representations. You can do the same in binary. 1/1010 and 1/11.
>>
>>62467776
>number systems
do you even what that means?
can you represent pi exactly using decimal number system or any other integer base?

> It's not even wrong. It just makes no sense
you are right, infinite cannot be less than other infinite, but it's still the exception along the infinite spectrum of numbers
> 1/10
I meant (1/10) can be represented exactly in decimal (0.1)dec, but it's irrational when you represnet it in number system with base 2 aka binary, it will be something like (0.11001101.....)bin
>>
>>62464041
>rational numbers like pie.

Pi is not rational... Unless you mean this >>62464084

>>62466494
engineer would be
pi = 10

t. engineer

always need a "risk-factor" in the calculations. And it's easier to do in the head when all the numbers are multiples of 10.
>>
ITT /g/ shows its true colors: uneducated NEETs
>>
>>62464041
My computer still has a drawer to hold mini pizzas, does that count?
>>
>>62467876
>integer base
why limit it to integers?
pi is exactly 10 in base pi.
>>
>>62464041
But anon, computers can store pi

Here it is stored in a png
>>
>>62466564
How would you express any integer in base pi, let alone any other transcendental number?
>>
>>62468060
The same way you would express pi in any integer base
>>
>>62468130
Well I guess you can have base pi since the only number that can't be a base is 0, but it wouldn't be very useful really. Also, that would only apply to the integers -3,-2,-1 (since they're greater than minus pi) and 0,1,2 and 3 (since they're less than positive pi)
>>
>>62467876
>infinite cannot be less than other infinite

do you even transfinite numbers?
>>
>>62464041
data MyNumbers = Just Int | Pi
>>
>rational numbers
>like pie
found your issue
>>
File: 1505329477679.jpg (6KB, 192x192px) Image search: [Google]
1505329477679.jpg
6KB, 192x192px
>>62464041
>yooler.jpg
>>
>>62464041
pi is not a rational number, it's the archetypal irrational number.

also it's amazing that computers can even do math, as they barely represent numbers to begin with. just makes you realise that we don't need a lot of precision to get certain "human scale" calculations to work properly.
>>
>>62467876
> infinite cannot be less than other infinite
What are countable and uncountable infinities?
>>
>>62465017
>most numbers are transcendental
no
>>
>>62468831
Infinity+1 = infinity, so yes, infinite cannot be less than another infinite.
>>
File: wat8.png (225KB, 372x340px) Image search: [Google]
wat8.png
225KB, 372x340px
>>
>>62464041
>store rational numbers like pie
>rational numbers
>pie
This thread is bait
>>
>>62464041
>rational numbers like pie.
dumbass
>>
File: flat,1000x1000,075,f.jpg (119KB, 1000x1000px) Image search: [Google]
flat,1000x1000,075,f.jpg
119KB, 1000x1000px
>>62464041
why don't we have computers calculate pi eternally as their base process, then do all processes off that?
>>
>>62464413
that fo>>62466524
>I would prefer to write math.pi hundreds of times in my program, instead of pi
I commend you for wearing your autism like a badge of honor
>>
>>62471690
isnt that what the rasberry pie computers do
>>
Someone make this thread interesting an shove a pie in their computer.
>>
>>62468020
I don't need these faggy math equations, I can just monty carlo it.
>>
Because it's an irrational number.
>>
>>62465017
4gb on a drive is heavier than Pigb though
>>
>>62471887
no, they work like normal computers, just smaller. the name comes from the inventors love for raspberry pie, has nothing to do with pi.
>>
>>62465063
kek
>>
>>62464084
const double pi = 22.0 / 7.0; // close enough
Thread posts: 59
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.