any number larger than 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 will result in infinity. Don't to decimals either.
It takes a random number(x) from 1 to [answer] and if it isn't 1, adds 1 to "ze count" and sets the maximum to 2(x), and repeats. it caps at about 2500 count, before any number becomes infinity. it goes up surprisingly slow. tell me what you think of it in the comments