Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Hey dudes I like computer programming

Name: Anonymous 2022-03-16 11:09

Did you know that 0.1 + 0.2 does NOT equal 0.3? It will blow your mind!

Name: Anonymous 2022-03-16 19:30

Yeah it's because fractionary numbers are represented as floating points in computers, using base 2 so 0.2=1/5 has no exact representation since 5 doesn't divide any power of two, making it a "recurring binary", in this case 0.0011001100110011...
It is easy to see this, since (0.0011)_2 = (3/16)_10 and the next term of the sum, 0.00000011 is the previous shifted 4 binary places right, that is, divided by 2^4=16, we have S = 3/16 + 3/(16^2) + 3/(16^3) + ...
This geometric sum can be calculated using
S = a_0/(1-q) where a_0 is the first term and q is the fixed ratio between consecutive terms, giving:
S = (3/16)/(1-(1/16)) = (3/16)/(15/16) = 3/15 = 1/5 as we expected.
So I guess the floating point system would truncate it at some point, giving something like, 0.0011001100110011 = 11001100110011 * 2^(-16), i.e. 13107*2(-16) or 13107/65536, (0.19999694824 in base 10)

It is similar for 0.1, it is 1/10, ergo 1/5 shifted right one binary place.
So in base 2 it is 0.00011001100110011...
If, as was the example before, the floating point system ttuncates at the 16th binary places, then we get
0.0001100110011001 = 1100110011001 * 2^(-16) = 6553 * 2^(-16) or 6553/65536 (0.09999084472 in base 10)

So, adding these numbers we get (13107+6553)/65536 = 19660/65536 = 0.29998779296

Slightly less than 0.3! Mind=Blown

Name: Rusian Thinking 2022-03-17 4:41

29680 59582 09403 93065 31729 13688 44154 67703
59380 67643 48503 76412 38145 08929 71920 67583
52768 46013 73433 20988 57591 69641 70958 42056
88533 09185 48670 46072 63967 12309 15475 94267

http://ai.neocities.org/RuThink.html

Name: Anonymous 2022-03-17 7:18

>dudes

Name: Anonymous 2022-03-17 8:26

>>4
https://dis.tinychan.net/statistics.html
Unique Posters Male: 22
Unique Posters Female: 0

Name: Anonymous 2022-03-17 11:50

>>2
Thank you for the engagement in my shitpoast, sir. I was not expecting that. I was just a drunk NEET.

Name: Anonymous 2022-03-17 23:05

>>6
You're welcome.
I made a meme for your thread, too bad it is in portuguese.
https://i82.servimg.com/u/f82/20/41/37/35/sem_tz10.jpg

Name: Anonymous 2022-03-18 15:04

>>7
I understand only the first panel.

Name: Anonymous 2022-03-18 18:08

>>8
"I knew that one with oranges" is sort of a joke about mathematics and how in math education for children the problems usually involve familiar objects like oranges, apples, pies, etc.

Name: Anonymous 2022-03-19 7:55

>>9
Funny meme, thanxs!

Name: Anonymous 2022-03-20 0:39

Did you know that 0.1 + 0.2 does NOT equal 0.3? It will blow your mind!
You would be hired for non-mis-gendering

Name: Anonymous 2022-03-20 8:31

>>11
What would you even mis-gender here.

Name: sage 2022-03-21 2:22

>>12
its not "mis-gender", its "taking political advantage of mental-disease". please keep this in mind at all times thank you

Name: Anonymous 2022-03-30 15:34

>>1

You can learn more mind blowing lesson here! http://www.mooc.org

Don't change these.
Name: Email:
Entire Thread Thread List