![]() |
|
No such thing as a small change | |
PerlMonks |
Re^6: Largest integer in 64-bit perlby ikegami (Patriarch) |
on May 27, 2025 at 20:04 UTC ( [id://11165141]=note: print w/replies, xml ) | Need Help?? |
When the pre-increment operator is provided an integer that less than its max, it just adds one to it. Otherwise, it calls crazy, 150-lines long sv_inc. And yeah, sv_inc can promote to integer. Woops.
In Section
Seekers of Perl Wisdom
|
|