Some one please shed light on this when doing bitwise operation in javascript I get:
65527|34359738368 =>65527
Is it possible to handle this in javascript ?
From mysql command line:
select 65527|34359738368 ;
+-------------------+
| 65527|34359738368 |
+-------------------+
| 34359803895 |
+-------------------+
And more importantly its less than 2 ^ 36
select (65527|34359738368)< pow(2,36);
+--------------------------------+
| (65527|34359738368)< pow(2,36) |
+--------------------------------+
| 1 |
+--------------------------------+
What I read from this SO Q is that int in javascript support max 2^53
value. I might be missing sth