Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I don't know...
Say 5, the integer
5/2 = 2
2/2 = 1
1/2 = 0
I'm pretty sure you always get to 0. In log(n) efficiency at that! -
aguu258yWhat about zero itself? It's an integer and neither gets closer to zero on division and immediately reaches it.
-
I think the original paradoxes of this were by a Greek guy. Zeno, if I remember correctly. Interesting stuff :)
-
@moagggi as another user pointed out - conceptual integer. Let's just say "number" instead
-
oroys8178yUnless you take quantum mechanics into account. Max Planck taught us that all energy is quantized, it can only take certain values.
If you divide an integer with two over and over again, you will get closer and closer to 0, but you will never reach it.
Kind of the same feeling as watching your rant gain more and more ++'s, but never hitting that magical 300.
undefined