![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: Largest integer in 64-bit perlby LanX (Saint) |
on May 19, 2025 at 10:01 UTC ( [id://11165062]=note: print w/replies, xml ) | Need Help?? |
> the power operator (**) always returns an NV sure that's why I said we must stay in the "realm of integers" for a proper binary search. I'm not sure about the "always" tho > You might be better off using the << operator: That's the classic approach, but I would choose a "pure" algorithm using + only, to find the point where adding two integers creates a non-integer.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|