Your test is still flawed because MAX_INT is not MAX_UINT nor is it "the maximum of the range of integers that can be exactly stored in an NV". ~0 is MAX_UINT. MAX_INT is int(~0/2), which is 32 bits on some builds of Perl but not on others. See "IV".
for( my $i= $start; 1; $i++ )
Update: And it is usually spelt INT_MAX, it seems.
- tye
In reply to Re^6: Infinity and Inf? (MAX_INT)
by tye
in thread Infinity and Inf?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |