|
|
|
|
|
by jayd16
2348 days ago
|
|
>In fact, no finite amount of computation will guarantee that we will be able to tell whether x=0 or x>0 Hmm, I'm still stuck at this assertion. Why can we not assume the number is finite? If we assume an infinitely long number takes an infinite amount of time to read, can we not also assume it must take an infinite amount of time to write? If we only have finite time, can we not assume all numbers given to the function in that time are finite? |
|
The article seems to say that, because you can't produce an upper bound to the amount of time the sgn function will take to run (for all possible inputs), sgn isn't a function. But then... isn't it the same for every single other function?
I think the article is conflating "given a fixed amount of time, one can find an input for which the function will take longer to run" with "the function takes infinite time". The later isn't true: for any given input, no matter how big, one can compute a time such that the function will finish in that time; in other words, the function always finishes, in finite time, for every possible input, no matter how large.
It's possible we're both confused, I suppose. :-)