Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: reproducing javascripts >> operator

by roboticus (Chancellor)
on Mar 20, 2015 at 12:15 UTC ( #1120735=note: print w/replies, xml ) Need Help??


in reply to Re: reproducing javascripts >> operator
in thread reproducing javascripts >> operator

shmem:

Yeah, if the numbers are large enough, JavaScript silently converts them to float before doing some operations like this--it can be surprising.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^2: reproducing javascripts >> operator

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1120735]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2020-12-04 23:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (63 votes). Check out past polls.

    Notices?