![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re^3: Behaviour of int() unexpectedby LanX (Saint) |
on Mar 11, 2025 at 03:48 UTC ( [id://11164239]=note: print w/replies, xml ) | Need Help?? |
> plain integer like 895 along with an exponent which is -2. That's decimal logic not binary. Number crunching in decimal is a waste of digital resources.° And 10 is not a universal constant, just the number of the long things we use to hold our hamburgers. See also: for a more detailed discussion.
°) Unless you invent affordable micro transistors with 10-ary states. Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|