in reply to Re^4: Infinity and Inf? (MAX_INT)
in thread Infinity and Inf?
did you read my updates before answering?
> That limit be obtained using the following:
I question these design decisions forcing the user to care about such implementation details.
From a higher language perspective it doesn't make sense why a range operator within a for(..){} can't iterate thru the same spectrum like a while($x++){ } can do.
IMHO the cleanest syntax would be allowing to use Inf which is automatically translated to whatever maximum the current implementation of an operator can handle.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Infinity and Inf? (MAX_INT)
by ikegami (Patriarch) on Sep 01, 2010 at 19:16 UTC |