[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]

>>> int(1.999999999999999) 1 >>> int(1.9999999999999999)

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: 25
Thread images: 4

File: file.png (117KB, 250x221px) Image search: [Google]
file.png
117KB, 250x221px
>>> int(1.999999999999999)
1
>>> int(1.9999999999999999)
2

LMAO
>>
>>> .1 + .2
0.30000000000000004


really causes electrical signals to flow through your neurons
>>
Yes, that's right.
>>
>>58562089
What did you expect?
>>
>current year
>not knowing how floats work
i shiggy diggy do
>>
File: le_sacred_book.jpg (206KB, 1200x960px) Image search: [Google]
le_sacred_book.jpg
206KB, 1200x960px
>>58562089
>pi = 3
LMAO
>>
>>58562123
>>> print(Fraction('0.1') + Fraction('0.2'))
3/10
>>
>>
Obviously, since 1.99999... is equal to 2, then at some point it flips over from being in the 1 to the 2 range. Kudos to python for figuring out that happens at 16 9s.
>>
File: strongautism.png (2MB, 938x897px) Image search: [Google]
strongautism.png
2MB, 938x897px
>>58562415
>1.99999... is equal to 2
>>
>>58562089
http://floating-point-gui.de
get educated
>>
>>58562438
oh boy...here we go again
>>
>>58562438
In theory it's not equal but in every practical situation it's equal.
>>
>>58562438
>>58564497
1/9 = 0.111...
9 * 1/9 = 9 * 0.111...
1 = 0.999...
>>
>>58564225
Thanks anon I did.
>>
>>58562438
You think that's weird?

1 + 2 + 3 +4 +5 +... = -1/12
>>
>>58562089

it's almost as if the computer has a finite amount of memory and you just passed the max amount of 9s it can handle before it rounds it off to save memory

> LMAO
>>
>>58565047
that's not how this works at all but you've kind of got it I guess
>>
>>58565023

Ramanujan summation is basically bullshit.
>>
>>58565339
>Ramanujan summation is basically bullshit.
brainlet detected
>>
>>58564497
tard detected
>>
>>58564540
Nice try, but no. 1/9 equals zero followed by an infinite number of 1s. However, infinity minus infinity equals infinity, so no matter how many 1s you have following the zero (even if you have an actual infinite number of them) you still need to add an infinite number of 1s for it to be exactly equal.
>>
>>58562089
Try using decimal.Decimal if you actually care about precision
>>
>>58562438
>R
not even once
>>
>>58565023
>1 + 2 + 3 +4 +5 +... = -1/12
That sum doesn't actually converge to -1/12. That is just what brainlets that don't understand analytic continuation interpret it as.

what you should be saying is
>the analytic continuation of riemann zeta function with an input of -1 is equal to -1/12

this video explains it pretty well even if it's over twenty minutes long
https://www.youtube.com/watch?v=sD0NjbwqlYw
Thread posts: 25
Thread images: 4


[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.