Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: log() and int() problem

by LanX (Chancellor)
on Dec 25, 2012 at 18:49 UTC ( #1010283=note: print w/replies, xml ) Need Help??


in reply to Re^2: log() and int() problem
in thread log() and int() problem

OK, thanks for correcting!

(I already suspected that I should place one more "IIRC". :)

Maybe I remembered something different or Scalar::Util::dualvar confused me or the reality in perl is even more complex. (and the latter wouldn't surprise me)

Cheers Rolf

PS: or was it JS ... ?!?

UPDATE:

For the records, here the source of my misunderstanding

from perlnumber:

Perl can internally represent numbers in 3 different ways: as native integers, as native floating point numbers, and as decimal strings. Decimal strings may have an exponential notation part, as in "12.34e-56" . Native here means "a format supported by the C compiler which was used to build perl".

emphasis added.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010283]
help
Chatterbox?
[Lady_Aleena]: Cow1337killr, hello. I was off fixing my sources.list and it took my attention away from here.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-21 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (320 votes). Check out past polls.