Probably you have a 32-bit CPU. See the link why that's a problem.
On Thu, 20 Oct 2011 11:08:52 -0400, michaelala...@gmail.com (Mike
>I have two binary numbers which are quite long. 128 bits to be exact.
>When converting the two items to decimal i get the same result. The
>binary numbers are quite different, so I am not getting the expected
>Here is my code:
>$dec1 = bindec($b1);
>$dec2 = bindec($b2);
>I get 4.2540766452641E+37 for both $dec1 and $dec2.
>What can I do to resolve the problem?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php