php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61414 bindec result give unexpected result
Submitted: 2012-03-16 10:58 UTC Modified: 2012-03-16 21:48 UTC
From: charlie at 8opus dot com Assigned:
Status: Not a bug Package: Math related
PHP Version: 5.3.10 OS: Linux
Private report: No CVE-ID: None
 [2012-03-16 10:58 UTC] charlie at 8opus dot com
Description:
------------
I have used the following script to generate bindec. But for some of binary code 
are different, but the decimal number are the same. 



Test script:
---------------
for($j = 0; $j < 15; $j++) {
   $binary_string = str_repeat('1', 64);
   for ($i = 0; $i < $j; $i++) {
      $binary_string[$i] = '0';
   }
   $ret = bindec($binary_string);
   $dec = sprintf("%.0f", $ret);
   echo "\n{$binary_string}\t{$ret}\t{$dec}";

   for ($i=63; $i>$j; $i--) {
      $binary_string[$i] = '0';
      $ret = bindec($binary_string);
      $dec = sprintf("%.0f", $ret);
      echo "\n{$binary_string}\t{$ret}\t{$dec}";
   }
   echo "\n";
}

Actual result:
--------------
1111111111111111111111111111111111111111111111111111111111111111	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111111110	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111111100	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111111000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111110000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111100000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111111000000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111110000000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111100000000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111111000000000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111110000000000	
1.844674407371E+19	18446744073709551616
1111111111111111111111111111111111111111111111111111100000000000	
1.844674407371E+19	18446744073709549568
1111111111111111111111111111111111111111111111111111000000000000	
1.844674407371E+19	18446744073709547520
1111111111111111111111111111111111111111111111111110000000000000	
1.844674407371E+19	18446744073709543424
1111111111111111111111111111111111111111111111111100000000000000	
1.844674407371E+19	18446744073709535232
1111111111111111111111111111111111111111111111111000000000000000	
1.844674407371E+19	18446744073709518848
1111111111111111111111111111111111111111111111110000000000000000	
1.8446744073709E+19	18446744073709486080
1111111111111111111111111111111111111111111111100000000000000000	
1.8446744073709E+19	18446744073709420544
1111111111111111111111111111111111111111111111000000000000000000	
1.8446744073709E+19	18446744073709289472
1111111111111111111111111111111111111111111110000000000000000000	
1.8446744073709E+19	18446744073709027328
1111111111111111111111111111111111111111111100000000000000000000	
1.8446744073709E+19	18446744073708503040
1111111111111111111111111111111111111111111000000000000000000000	
1.8446744073707E+19	18446744073707454464
1111111111111111111111111111111111111111110000000000000000000000	
1.8446744073705E+19	18446744073705357312
1111111111111111111111111111111111111111100000000000000000000000	
1.8446744073701E+19	18446744073701163008
1111111111111111111111111111111111111111000000000000000000000000	
1.8446744073693E+19	18446744073692774400
1111111111111111111111111111111111111110000000000000000000000000	
1.8446744073676E+19	18446744073675997184
1111111111111111111111111111111111111100000000000000000000000000	
1.8446744073642E+19	18446744073642442752
1111111111111111111111111111111111111000000000000000000000000000	
1.8446744073575E+19	18446744073575333888
1111111111111111111111111111111111110000000000000000000000000000	
1.8446744073441E+19	18446744073441116160
1111111111111111111111111111111111100000000000000000000000000000	
1.8446744073173E+19	18446744073172680704
1111111111111111111111111111111111000000000000000000000000000000	
1.8446744072636E+19	18446744072635809792
1111111111111111111111111111111110000000000000000000000000000000	
1.8446744071562E+19	18446744071562067968
1111111111111111111111111111111100000000000000000000000000000000	
1.8446744069415E+19	18446744069414584320
1111111111111111111111111111111000000000000000000000000000000000	
1.844674406512E+19	18446744065119617024
1111111111111111111111111111110000000000000000000000000000000000	
1.844674405653E+19	18446744056529682432
1111111111111111111111111111100000000000000000000000000000000000	
1.844674403935E+19	18446744039349813248
1111111111111111111111111111000000000000000000000000000000000000	
1.844674400499E+19	18446744004990074880
1111111111111111111111111110000000000000000000000000000000000000	
1.8446743936271E+19	18446743936270598144
1111111111111111111111111100000000000000000000000000000000000000	
1.8446743798832E+19	18446743798831644672
1111111111111111111111111000000000000000000000000000000000000000	
1.8446743523954E+19	18446743523953737728
1111111111111111111111110000000000000000000000000000000000000000	
1.8446742974198E+19	18446742974197923840
1111111111111111111111100000000000000000000000000000000000000000	
1.8446741874686E+19	18446741874686296064
1111111111111111111111000000000000000000000000000000000000000000	
1.8446739675663E+19	18446739675663040512
1111111111111111111110000000000000000000000000000000000000000000	
1.8446735277617E+19	18446735277616529408
1111111111111111111100000000000000000000000000000000000000000000	
1.8446726481524E+19	18446726481523507200
1111111111111111111000000000000000000000000000000000000000000000	
1.8446708889337E+19	18446708889337462784
1111111111111111110000000000000000000000000000000000000000000000	
1.8446673704965E+19	18446673704965373952
1111111111111111100000000000000000000000000000000000000000000000	
1.8446603336221E+19	18446603336221196288
1111111111111111000000000000000000000000000000000000000000000000	
1.8446462598733E+19	18446462598732840960
1111111111111110000000000000000000000000000000000000000000000000	
1.8446181123756E+19	18446181123756130304
1111111111111100000000000000000000000000000000000000000000000000	
1.8445618173803E+19	18445618173802708992
1111111111111000000000000000000000000000000000000000000000000000	
1.8444492273896E+19	18444492273895866368
1111111111110000000000000000000000000000000000000000000000000000	
1.8442240474082E+19	18442240474082181120
1111111111100000000000000000000000000000000000000000000000000000	
1.8437736874455E+19	18437736874454810624
1111111111000000000000000000000000000000000000000000000000000000	
1.84287296752E+19	18428729675200069632
1111111110000000000000000000000000000000000000000000000000000000	
1.8410715276691E+19	18410715276690587648
1111111100000000000000000000000000000000000000000000000000000000	
1.8374686479672E+19	18374686479671623680
1111111000000000000000000000000000000000000000000000000000000000	
1.8302628885634E+19	18302628885633695744
1111110000000000000000000000000000000000000000000000000000000000	
1.8158513697558E+19	18158513697557839872
1111100000000000000000000000000000000000000000000000000000000000	
1.7870283321406E+19	17870283321406128128
1111000000000000000000000000000000000000000000000000000000000000	
1.7293822569103E+19	17293822569102704640
1110000000000000000000000000000000000000000000000000000000000000	
1.6140901064496E+19	16140901064495857664
1100000000000000000000000000000000000000000000000000000000000000	
1.3835058055282E+19	13835058055282163712
1000000000000000000000000000000000000000000000000000000000000000	
9.2233720368548E+18	9223372036854775808

0111111111111111111111111111111111111111111111111111111111111111	
9223372036854775807	9223372036854775808
0111111111111111111111111111111111111111111111111111111111111110	
9223372036854775806	9223372036854775808
0111111111111111111111111111111111111111111111111111111111111100	
9223372036854775804	9223372036854775808
0111111111111111111111111111111111111111111111111111111111111000	
9223372036854775800	9223372036854775808
0111111111111111111111111111111111111111111111111111111111110000	
9223372036854775792	9223372036854775808
0111111111111111111111111111111111111111111111111111111111100000	
9223372036854775776	9223372036854775808
0111111111111111111111111111111111111111111111111111111111000000	
9223372036854775744	9223372036854775808
0111111111111111111111111111111111111111111111111111111110000000	
9223372036854775680	9223372036854775808
0111111111111111111111111111111111111111111111111111111100000000	
9223372036854775552	9223372036854775808
0111111111111111111111111111111111111111111111111111111000000000	
9223372036854775296	9223372036854775808
0111111111111111111111111111111111111111111111111111110000000000	
9223372036854774784	9223372036854774784
0111111111111111111111111111111111111111111111111111100000000000	
9223372036854773760	9223372036854773760
0111111111111111111111111111111111111111111111111111000000000000	
9223372036854771712	9223372036854771712
0111111111111111111111111111111111111111111111111110000000000000	
9223372036854767616	9223372036854767616
0111111111111111111111111111111111111111111111111100000000000000	
9223372036854759424	9223372036854759424
0111111111111111111111111111111111111111111111111000000000000000	
9223372036854743040	9223372036854743040
0111111111111111111111111111111111111111111111110000000000000000	
9223372036854710272	9223372036854710272
0111111111111111111111111111111111111111111111100000000000000000	
9223372036854644736	9223372036854644736
0111111111111111111111111111111111111111111111000000000000000000	
9223372036854513664	9223372036854513664
0111111111111111111111111111111111111111111110000000000000000000	
9223372036854251520	9223372036854251520
0111111111111111111111111111111111111111111100000000000000000000	
9223372036853727232	9223372036853727232
0111111111111111111111111111111111111111111000000000000000000000	
9223372036852678656	9223372036852678656
0111111111111111111111111111111111111111110000000000000000000000	
9223372036850581504	9223372036850581504
0111111111111111111111111111111111111111100000000000000000000000	
9223372036846387200	9223372036846387200
0111111111111111111111111111111111111111000000000000000000000000	
9223372036837998592	9223372036837998592
0111111111111111111111111111111111111110000000000000000000000000	
9223372036821221376	9223372036821221376
0111111111111111111111111111111111111100000000000000000000000000	
9223372036787666944	9223372036787666944
0111111111111111111111111111111111111000000000000000000000000000	
9223372036720558080	9223372036720558080
0111111111111111111111111111111111110000000000000000000000000000	
9223372036586340352	9223372036586340352
0111111111111111111111111111111111100000000000000000000000000000	
9223372036317904896	9223372036317904896
0111111111111111111111111111111111000000000000000000000000000000	
9223372035781033984	9223372035781033984
0111111111111111111111111111111110000000000000000000000000000000	
9223372034707292160	9223372034707292160
0111111111111111111111111111111100000000000000000000000000000000	
9223372032559808512	9223372032559808512
0111111111111111111111111111111000000000000000000000000000000000	
9223372028264841216	9223372028264841216
0111111111111111111111111111110000000000000000000000000000000000	
9223372019674906624	9223372019674906624
0111111111111111111111111111100000000000000000000000000000000000	
9223372002495037440	9223372002495037440
0111111111111111111111111111000000000000000000000000000000000000	
9223371968135299072	9223371968135299072
0111111111111111111111111110000000000000000000000000000000000000	
9223371899415822336	9223371899415822336
0111111111111111111111111100000000000000000000000000000000000000	
9223371761976868864	9223371761976868864
0111111111111111111111111000000000000000000000000000000000000000	
9223371487098961920	9223371487098961920
0111111111111111111111110000000000000000000000000000000000000000	
9223370937343148032	9223370937343148032
0111111111111111111111100000000000000000000000000000000000000000	
9223369837831520256	9223369837831520256
0111111111111111111111000000000000000000000000000000000000000000	
9223367638808264704	9223367638808264704
0111111111111111111110000000000000000000000000000000000000000000	
9223363240761753600	9223363240761753600
0111111111111111111100000000000000000000000000000000000000000000	
9223354444668731392	9223354444668731392
0111111111111111111000000000000000000000000000000000000000000000	
9223336852482686976	9223336852482686976
0111111111111111110000000000000000000000000000000000000000000000	
9223301668110598144	9223301668110598144
0111111111111111100000000000000000000000000000000000000000000000	
9223231299366420480	9223231299366420480
0111111111111111000000000000000000000000000000000000000000000000	
9223090561878065152	9223090561878065152
0111111111111110000000000000000000000000000000000000000000000000	
9222809086901354496	9222809086901354496
0111111111111100000000000000000000000000000000000000000000000000	
9222246136947933184	9222246136947933184
0111111111111000000000000000000000000000000000000000000000000000	
9221120237041090560	9221120237041090560
0111111111110000000000000000000000000000000000000000000000000000	
9218868437227405312	9218868437227405312
0111111111100000000000000000000000000000000000000000000000000000	
9214364837600034816	9214364837600034816
0111111111000000000000000000000000000000000000000000000000000000	
9205357638345293824	9205357638345293824
0111111110000000000000000000000000000000000000000000000000000000	
9187343239835811840	9187343239835811840
0111111100000000000000000000000000000000000000000000000000000000	
9151314442816847872	9151314442816847872
0111111000000000000000000000000000000000000000000000000000000000	
9079256848778919936	9079256848778919936
0111110000000000000000000000000000000000000000000000000000000000	
8935141660703064064	8935141660703064064
0111100000000000000000000000000000000000000000000000000000000000	
8646911284551352320	8646911284551352320
0111000000000000000000000000000000000000000000000000000000000000	
8070450532247928832	8070450532247928832
0110000000000000000000000000000000000000000000000000000000000000	
6917529027641081856	6917529027641081856
0100000000000000000000000000000000000000000000000000000000000000	
4611686018427387904	4611686018427387904

0011111111111111111111111111111111111111111111111111111111111111	
4611686018427387903	4611686018427387904
0011111111111111111111111111111111111111111111111111111111111110	
4611686018427387902	4611686018427387904
0011111111111111111111111111111111111111111111111111111111111100	
4611686018427387900	4611686018427387904
0011111111111111111111111111111111111111111111111111111111111000	
4611686018427387896	4611686018427387904
0011111111111111111111111111111111111111111111111111111111110000	
4611686018427387888	4611686018427387904
0011111111111111111111111111111111111111111111111111111111100000	
4611686018427387872	4611686018427387904
0011111111111111111111111111111111111111111111111111111111000000	
4611686018427387840	4611686018427387904
0011111111111111111111111111111111111111111111111111111110000000	
4611686018427387776	4611686018427387904
0011111111111111111111111111111111111111111111111111111100000000	
4611686018427387648	4611686018427387904
0011111111111111111111111111111111111111111111111111111000000000	
4611686018427387392	4611686018427387392
0011111111111111111111111111111111111111111111111111110000000000	
4611686018427386880	4611686018427386880
0011111111111111111111111111111111111111111111111111100000000000	
4611686018427385856	4611686018427385856
0011111111111111111111111111111111111111111111111111000000000000	
4611686018427383808	4611686018427383808
0011111111111111111111111111111111111111111111111110000000000000	
4611686018427379712	4611686018427379712
0011111111111111111111111111111111111111111111111100000000000000	
4611686018427371520	4611686018427371520
0011111111111111111111111111111111111111111111111000000000000000	
4611686018427355136	4611686018427355136
0011111111111111111111111111111111111111111111110000000000000000	
4611686018427322368	4611686018427322368
0011111111111111111111111111111111111111111111100000000000000000	
4611686018427256832	4611686018427256832
0011111111111111111111111111111111111111111111000000000000000000	
4611686018427125760	4611686018427125760
0011111111111111111111111111111111111111111110000000000000000000	
4611686018426863616	4611686018426863616
0011111111111111111111111111111111111111111100000000000000000000	
4611686018426339328	4611686018426339328
0011111111111111111111111111111111111111111000000000000000000000	
4611686018425290752	4611686018425290752
0011111111111111111111111111111111111111110000000000000000000000	
4611686018423193600	4611686018423193600
0011111111111111111111111111111111111111100000000000000000000000	
4611686018418999296	4611686018418999296
0011111111111111111111111111111111111111000000000000000000000000	
4611686018410610688	4611686018410610688
0011111111111111111111111111111111111110000000000000000000000000	
4611686018393833472	4611686018393833472
0011111111111111111111111111111111111100000000000000000000000000	
4611686018360279040	4611686018360279040
0011111111111111111111111111111111111000000000000000000000000000	
4611686018293170176	4611686018293170176
0011111111111111111111111111111111110000000000000000000000000000	
4611686018158952448	4611686018158952448
0011111111111111111111111111111111100000000000000000000000000000	
4611686017890516992	4611686017890516992
0011111111111111111111111111111111000000000000000000000000000000	
4611686017353646080	4611686017353646080
0011111111111111111111111111111110000000000000000000000000000000	
4611686016279904256	4611686016279904256
0011111111111111111111111111111100000000000000000000000000000000	
4611686014132420608	4611686014132420608
0011111111111111111111111111111000000000000000000000000000000000	
4611686009837453312	4611686009837453312
0011111111111111111111111111110000000000000000000000000000000000	
4611686001247518720	4611686001247518720
0011111111111111111111111111100000000000000000000000000000000000	
4611685984067649536	4611685984067649536
0011111111111111111111111111000000000000000000000000000000000000	
4611685949707911168	4611685949707911168
0011111111111111111111111110000000000000000000000000000000000000	
4611685880988434432	4611685880988434432
0011111111111111111111111100000000000000000000000000000000000000	
4611685743549480960	4611685743549480960
0011111111111111111111111000000000000000000000000000000000000000	
4611685468671574016	4611685468671574016
0011111111111111111111110000000000000000000000000000000000000000	
4611684918915760128	4611684918915760128
0011111111111111111111100000000000000000000000000000000000000000	
4611683819404132352	4611683819404132352
0011111111111111111111000000000000000000000000000000000000000000	
4611681620380876800	4611681620380876800
0011111111111111111110000000000000000000000000000000000000000000	
4611677222334365696	4611677222334365696
0011111111111111111100000000000000000000000000000000000000000000	
4611668426241343488	4611668426241343488
0011111111111111111000000000000000000000000000000000000000000000	
4611650834055299072	4611650834055299072
0011111111111111110000000000000000000000000000000000000000000000	
4611615649683210240	4611615649683210240
0011111111111111100000000000000000000000000000000000000000000000	
4611545280939032576	4611545280939032576
0011111111111111000000000000000000000000000000000000000000000000	
4611404543450677248	4611404543450677248
0011111111111110000000000000000000000000000000000000000000000000	
4611123068473966592	4611123068473966592
0011111111111100000000000000000000000000000000000000000000000000	
4610560118520545280	4610560118520545280
0011111111111000000000000000000000000000000000000000000000000000	
4609434218613702656	4609434218613702656
0011111111110000000000000000000000000000000000000000000000000000	
4607182418800017408	4607182418800017408
0011111111100000000000000000000000000000000000000000000000000000	
4602678819172646912	4602678819172646912
0011111111000000000000000000000000000000000000000000000000000000	
4593671619917905920	4593671619917905920
0011111110000000000000000000000000000000000000000000000000000000	
4575657221408423936	4575657221408423936
0011111100000000000000000000000000000000000000000000000000000000	
4539628424389459968	4539628424389459968
0011111000000000000000000000000000000000000000000000000000000000	
4467570830351532032	4467570830351532032
0011110000000000000000000000000000000000000000000000000000000000	
4323455642275676160	4323455642275676160
0011100000000000000000000000000000000000000000000000000000000000	
4035225266123964416	4035225266123964416
0011000000000000000000000000000000000000000000000000000000000000	
3458764513820540928	3458764513820540928
0010000000000000000000000000000000000000000000000000000000000000	
2305843009213693952	2305843009213693952

0001111111111111111111111111111111111111111111111111111111111111	
2305843009213693951	2305843009213693952
0001111111111111111111111111111111111111111111111111111111111110	
2305843009213693950	2305843009213693952
0001111111111111111111111111111111111111111111111111111111111100	
2305843009213693948	2305843009213693952
0001111111111111111111111111111111111111111111111111111111111000	
2305843009213693944	2305843009213693952
0001111111111111111111111111111111111111111111111111111111110000	
2305843009213693936	2305843009213693952
0001111111111111111111111111111111111111111111111111111111100000	
2305843009213693920	2305843009213693952
0001111111111111111111111111111111111111111111111111111111000000	
2305843009213693888	2305843009213693952
0001111111111111111111111111111111111111111111111111111110000000	
2305843009213693824	2305843009213693952
0001111111111111111111111111111111111111111111111111111100000000	
2305843009213693696	2305843009213693696
0001111111111111111111111111111111111111111111111111111000000000	
2305843009213693440	2305843009213693440
0001111111111111111111111111111111111111111111111111110000000000	
2305843009213692928	2305843009213692928
0001111111111111111111111111111111111111111111111111100000000000	
2305843009213691904	2305843009213691904
0001111111111111111111111111111111111111111111111111000000000000	
2305843009213689856	2305843009213689856
0001111111111111111111111111111111111111111111111110000000000000	
2305843009213685760	2305843009213685760
0001111111111111111111111111111111111111111111111100000000000000	
2305843009213677568	2305843009213677568
0001111111111111111111111111111111111111111111111000000000000000	
2305843009213661184	2305843009213661184
0001111111111111111111111111111111111111111111110000000000000000	
2305843009213628416	2305843009213628416
0001111111111111111111111111111111111111111111100000000000000000	
2305843009213562880	2305843009213562880
0001111111111111111111111111111111111111111111000000000000000000	
2305843009213431808	2305843009213431808
0001111111111111111111111111111111111111111110000000000000000000	
2305843009213169664	2305843009213169664
0001111111111111111111111111111111111111111100000000000000000000	
2305843009212645376	2305843009212645376
0001111111111111111111111111111111111111111000000000000000000000	
2305843009211596800	2305843009211596800
0001111111111111111111111111111111111111110000000000000000000000	
2305843009209499648	2305843009209499648
0001111111111111111111111111111111111111100000000000000000000000	
2305843009205305344	2305843009205305344
0001111111111111111111111111111111111111000000000000000000000000	
2305843009196916736	2305843009196916736
0001111111111111111111111111111111111110000000000000000000000000	
2305843009180139520	2305843009180139520
0001111111111111111111111111111111111100000000000000000000000000	
2305843009146585088	2305843009146585088
0001111111111111111111111111111111111000000000000000000000000000	
2305843009079476224	2305843009079476224
0001111111111111111111111111111111110000000000000000000000000000	
2305843008945258496	2305843008945258496
0001111111111111111111111111111111100000000000000000000000000000	
2305843008676823040	2305843008676823040
0001111111111111111111111111111111000000000000000000000000000000	
2305843008139952128	2305843008139952128
0001111111111111111111111111111110000000000000000000000000000000	
2305843007066210304	2305843007066210304
0001111111111111111111111111111100000000000000000000000000000000	
2305843004918726656	2305843004918726656
0001111111111111111111111111111000000000000000000000000000000000	
2305843000623759360	2305843000623759360
0001111111111111111111111111110000000000000000000000000000000000	
2305842992033824768	2305842992033824768
0001111111111111111111111111100000000000000000000000000000000000	
2305842974853955584	2305842974853955584
0001111111111111111111111111000000000000000000000000000000000000	
2305842940494217216	2305842940494217216
0001111111111111111111111110000000000000000000000000000000000000	
2305842871774740480	2305842871774740480
0001111111111111111111111100000000000000000000000000000000000000	
2305842734335787008	2305842734335787008
0001111111111111111111111000000000000000000000000000000000000000	
2305842459457880064	2305842459457880064
0001111111111111111111110000000000000000000000000000000000000000	
2305841909702066176	2305841909702066176
0001111111111111111111100000000000000000000000000000000000000000	
2305840810190438400	2305840810190438400
0001111111111111111111000000000000000000000000000000000000000000	
2305838611167182848	2305838611167182848
0001111111111111111110000000000000000000000000000000000000000000	
2305834213120671744	2305834213120671744
0001111111111111111100000000000000000000000000000000000000000000	
2305825417027649536	2305825417027649536
0001111111111111111000000000000000000000000000000000000000000000	
2305807824841605120	2305807824841605120
0001111111111111110000000000000000000000000000000000000000000000	
2305772640469516288	2305772640469516288
0001111111111111100000000000000000000000000000000000000000000000	
2305702271725338624	2305702271725338624
0001111111111111000000000000000000000000000000000000000000000000	
2305561534236983296	2305561534236983296
0001111111111110000000000000000000000000000000000000000000000000	
2305280059260272640	2305280059260272640
0001111111111100000000000000000000000000000000000000000000000000	
2304717109306851328	2304717109306851328
0001111111111000000000000000000000000000000000000000000000000000	
2303591209400008704	2303591209400008704
0001111111110000000000000000000000000000000000000000000000000000	
2301339409586323456	2301339409586323456
0001111111100000000000000000000000000000000000000000000000000000	
2296835809958952960	2296835809958952960
0001111111000000000000000000000000000000000000000000000000000000	
2287828610704211968	2287828610704211968
0001111110000000000000000000000000000000000000000000000000000000	
2269814212194729984	2269814212194729984
0001111100000000000000000000000000000000000000000000000000000000	
2233785415175766016	2233785415175766016
0001111000000000000000000000000000000000000000000000000000000000	
2161727821137838080	2161727821137838080
0001110000000000000000000000000000000000000000000000000000000000	
2017612633061982208	2017612633061982208
0001100000000000000000000000000000000000000000000000000000000000	
1729382256910270464	1729382256910270464
0001000000000000000000000000000000000000000000000000000000000000	
1152921504606846976	1152921504606846976

0000111111111111111111111111111111111111111111111111111111111111	
1152921504606846975	1152921504606846976
0000111111111111111111111111111111111111111111111111111111111110	
1152921504606846974	1152921504606846976
0000111111111111111111111111111111111111111111111111111111111100	
1152921504606846972	1152921504606846976
0000111111111111111111111111111111111111111111111111111111111000	
1152921504606846968	1152921504606846976
0000111111111111111111111111111111111111111111111111111111110000	
1152921504606846960	1152921504606846976
0000111111111111111111111111111111111111111111111111111111100000	
1152921504606846944	1152921504606846976
0000111111111111111111111111111111111111111111111111111111000000	
1152921504606846912	1152921504606846976
0000111111111111111111111111111111111111111111111111111110000000	
1152921504606846848	1152921504606846848
0000111111111111111111111111111111111111111111111111111100000000	
1152921504606846720	1152921504606846720
0000111111111111111111111111111111111111111111111111111000000000	
1152921504606846464	1152921504606846464
0000111111111111111111111111111111111111111111111111110000000000	
1152921504606845952	1152921504606845952
0000111111111111111111111111111111111111111111111111100000000000	
1152921504606844928	1152921504606844928
0000111111111111111111111111111111111111111111111111000000000000	
1152921504606842880	1152921504606842880
0000111111111111111111111111111111111111111111111110000000000000	
1152921504606838784	1152921504606838784
0000111111111111111111111111111111111111111111111100000000000000	
1152921504606830592	1152921504606830592
0000111111111111111111111111111111111111111111111000000000000000	
1152921504606814208	1152921504606814208
0000111111111111111111111111111111111111111111110000000000000000	
1152921504606781440	1152921504606781440
0000111111111111111111111111111111111111111111100000000000000000	
1152921504606715904	1152921504606715904
0000111111111111111111111111111111111111111111000000000000000000	
1152921504606584832	1152921504606584832
0000111111111111111111111111111111111111111110000000000000000000	
1152921504606322688	1152921504606322688
0000111111111111111111111111111111111111111100000000000000000000	
1152921504605798400	1152921504605798400
0000111111111111111111111111111111111111111000000000000000000000	
1152921504604749824	1152921504604749824
0000111111111111111111111111111111111111110000000000000000000000	
1152921504602652672	1152921504602652672
0000111111111111111111111111111111111111100000000000000000000000	
1152921504598458368	1152921504598458368
0000111111111111111111111111111111111111000000000000000000000000	
1152921504590069760	1152921504590069760
0000111111111111111111111111111111111110000000000000000000000000	
1152921504573292544	1152921504573292544
0000111111111111111111111111111111111100000000000000000000000000	
1152921504539738112	1152921504539738112
0000111111111111111111111111111111111000000000000000000000000000	
1152921504472629248	1152921504472629248
0000111111111111111111111111111111110000000000000000000000000000	
1152921504338411520	1152921504338411520
0000111111111111111111111111111111100000000000000000000000000000	
1152921504069976064	1152921504069976064
0000111111111111111111111111111111000000000000000000000000000000	
1152921503533105152	1152921503533105152
0000111111111111111111111111111110000000000000000000000000000000	
1152921502459363328	1152921502459363328
0000111111111111111111111111111100000000000000000000000000000000	
1152921500311879680	1152921500311879680
0000111111111111111111111111111000000000000000000000000000000000	
1152921496016912384	1152921496016912384
0000111111111111111111111111110000000000000000000000000000000000	
1152921487426977792	1152921487426977792
0000111111111111111111111111100000000000000000000000000000000000	
1152921470247108608	1152921470247108608
0000111111111111111111111111000000000000000000000000000000000000	
1152921435887370240	1152921435887370240
0000111111111111111111111110000000000000000000000000000000000000	
1152921367167893504	1152921367167893504
0000111111111111111111111100000000000000000000000000000000000000	
1152921229728940032	1152921229728940032
0000111111111111111111111000000000000000000000000000000000000000	
1152920954851033088	1152920954851033088
0000111111111111111111110000000000000000000000000000000000000000	
1152920405095219200	1152920405095219200
0000111111111111111111100000000000000000000000000000000000000000	
1152919305583591424	1152919305583591424
0000111111111111111111000000000000000000000000000000000000000000	
1152917106560335872	1152917106560335872
0000111111111111111110000000000000000000000000000000000000000000	
1152912708513824768	1152912708513824768
0000111111111111111100000000000000000000000000000000000000000000	
1152903912420802560	1152903912420802560
0000111111111111111000000000000000000000000000000000000000000000	
1152886320234758144	1152886320234758144
0000111111111111110000000000000000000000000000000000000000000000	
1152851135862669312	1152851135862669312
0000111111111111100000000000000000000000000000000000000000000000	
1152780767118491648	1152780767118491648
0000111111111111000000000000000000000000000000000000000000000000	
1152640029630136320	1152640029630136320
0000111111111110000000000000000000000000000000000000000000000000	
1152358554653425664	1152358554653425664
0000111111111100000000000000000000000000000000000000000000000000	
1151795604700004352	1151795604700004352
0000111111111000000000000000000000000000000000000000000000000000	
1150669704793161728	1150669704793161728
0000111111110000000000000000000000000000000000000000000000000000	
1148417904979476480	1148417904979476480
0000111111100000000000000000000000000000000000000000000000000000	
1143914305352105984	1143914305352105984
0000111111000000000000000000000000000000000000000000000000000000	
1134907106097364992	1134907106097364992
0000111110000000000000000000000000000000000000000000000000000000	
1116892707587883008	1116892707587883008
0000111100000000000000000000000000000000000000000000000000000000	
1080863910568919040	1080863910568919040
0000111000000000000000000000000000000000000000000000000000000000	
1008806316530991104	1008806316530991104
0000110000000000000000000000000000000000000000000000000000000000	
864691128455135232	864691128455135232
0000100000000000000000000000000000000000000000000000000000000000	
576460752303423488	576460752303423488

0000011111111111111111111111111111111111111111111111111111111111	
576460752303423487	576460752303423488
0000011111111111111111111111111111111111111111111111111111111110	
576460752303423486	576460752303423488
0000011111111111111111111111111111111111111111111111111111111100	
576460752303423484	576460752303423488
0000011111111111111111111111111111111111111111111111111111111000	
576460752303423480	576460752303423488
0000011111111111111111111111111111111111111111111111111111110000	
576460752303423472	576460752303423488
0000011111111111111111111111111111111111111111111111111111100000	
576460752303423456	576460752303423488
0000011111111111111111111111111111111111111111111111111111000000	
576460752303423424	576460752303423424
0000011111111111111111111111111111111111111111111111111110000000	
576460752303423360	576460752303423360
0000011111111111111111111111111111111111111111111111111100000000	
576460752303423232	576460752303423232
0000011111111111111111111111111111111111111111111111111000000000	
576460752303422976	576460752303422976
0000011111111111111111111111111111111111111111111111110000000000	
576460752303422464	576460752303422464
0000011111111111111111111111111111111111111111111111100000000000	
576460752303421440	576460752303421440
0000011111111111111111111111111111111111111111111111000000000000	
576460752303419392	576460752303419392
0000011111111111111111111111111111111111111111111110000000000000	
576460752303415296	576460752303415296
0000011111111111111111111111111111111111111111111100000000000000	
576460752303407104	576460752303407104
0000011111111111111111111111111111111111111111111000000000000000	
576460752303390720	576460752303390720
0000011111111111111111111111111111111111111111110000000000000000	
576460752303357952	576460752303357952
0000011111111111111111111111111111111111111111100000000000000000	
576460752303292416	576460752303292416
0000011111111111111111111111111111111111111111000000000000000000	
576460752303161344	576460752303161344
0000011111111111111111111111111111111111111110000000000000000000	
576460752302899200	576460752302899200
0000011111111111111111111111111111111111111100000000000000000000	
576460752302374912	576460752302374912
0000011111111111111111111111111111111111111000000000000000000000	
576460752301326336	576460752301326336
0000011111111111111111111111111111111111110000000000000000000000	
576460752299229184	576460752299229184
0000011111111111111111111111111111111111100000000000000000000000	
576460752295034880	576460752295034880
0000011111111111111111111111111111111111000000000000000000000000	
576460752286646272	576460752286646272
0000011111111111111111111111111111111110000000000000000000000000	
576460752269869056	576460752269869056
0000011111111111111111111111111111111100000000000000000000000000	
576460752236314624	576460752236314624
0000011111111111111111111111111111111000000000000000000000000000	
576460752169205760	576460752169205760
0000011111111111111111111111111111110000000000000000000000000000	
576460752034988032	576460752034988032
0000011111111111111111111111111111100000000000000000000000000000	
576460751766552576	576460751766552576
0000011111111111111111111111111111000000000000000000000000000000	
576460751229681664	576460751229681664
0000011111111111111111111111111110000000000000000000000000000000	
576460750155939840	576460750155939840
0000011111111111111111111111111100000000000000000000000000000000	
576460748008456192	576460748008456192
0000011111111111111111111111111000000000000000000000000000000000	
576460743713488896	576460743713488896
0000011111111111111111111111110000000000000000000000000000000000	
576460735123554304	576460735123554304
0000011111111111111111111111100000000000000000000000000000000000	
576460717943685120	576460717943685120
0000011111111111111111111111000000000000000000000000000000000000	
576460683583946752	576460683583946752
0000011111111111111111111110000000000000000000000000000000000000	
576460614864470016	576460614864470016
0000011111111111111111111100000000000000000000000000000000000000	
576460477425516544	576460477425516544
0000011111111111111111111000000000000000000000000000000000000000	
576460202547609600	576460202547609600
0000011111111111111111110000000000000000000000000000000000000000	
576459652791795712	576459652791795712
0000011111111111111111100000000000000000000000000000000000000000	
576458553280167936	576458553280167936
0000011111111111111111000000000000000000000000000000000000000000	
576456354256912384	576456354256912384
0000011111111111111110000000000000000000000000000000000000000000	
576451956210401280	576451956210401280
0000011111111111111100000000000000000000000000000000000000000000	
576443160117379072	576443160117379072
0000011111111111111000000000000000000000000000000000000000000000	
576425567931334656	576425567931334656
0000011111111111110000000000000000000000000000000000000000000000	
576390383559245824	576390383559245824
0000011111111111100000000000000000000000000000000000000000000000	
576320014815068160	576320014815068160
0000011111111111000000000000000000000000000000000000000000000000	
576179277326712832	576179277326712832
0000011111111110000000000000000000000000000000000000000000000000	
575897802350002176	575897802350002176
0000011111111100000000000000000000000000000000000000000000000000	
575334852396580864	575334852396580864
0000011111111000000000000000000000000000000000000000000000000000	
574208952489738240	574208952489738240
0000011111110000000000000000000000000000000000000000000000000000	
571957152676052992	571957152676052992
0000011111100000000000000000000000000000000000000000000000000000	
567453553048682496	567453553048682496
0000011111000000000000000000000000000000000000000000000000000000	
558446353793941504	558446353793941504
0000011110000000000000000000000000000000000000000000000000000000	
540431955284459520	540431955284459520
0000011100000000000000000000000000000000000000000000000000000000	
504403158265495552	504403158265495552
0000011000000000000000000000000000000000000000000000000000000000	
432345564227567616	432345564227567616
0000010000000000000000000000000000000000000000000000000000000000	
288230376151711744	288230376151711744

0000001111111111111111111111111111111111111111111111111111111111	
288230376151711743	288230376151711744
0000001111111111111111111111111111111111111111111111111111111110	
288230376151711742	288230376151711744
0000001111111111111111111111111111111111111111111111111111111100	
288230376151711740	288230376151711744
0000001111111111111111111111111111111111111111111111111111111000	
288230376151711736	288230376151711744
0000001111111111111111111111111111111111111111111111111111110000	
288230376151711728	288230376151711744
0000001111111111111111111111111111111111111111111111111111100000	
288230376151711712	288230376151711712
0000001111111111111111111111111111111111111111111111111111000000	
288230376151711680	288230376151711680
0000001111111111111111111111111111111111111111111111111110000000	
288230376151711616	288230376151711616
0000001111111111111111111111111111111111111111111111111100000000	
288230376151711488	288230376151711488
0000001111111111111111111111111111111111111111111111111000000000	
288230376151711232	288230376151711232
0000001111111111111111111111111111111111111111111111110000000000	
288230376151710720	288230376151710720
0000001111111111111111111111111111111111111111111111100000000000	
288230376151709696	288230376151709696
0000001111111111111111111111111111111111111111111111000000000000	
288230376151707648	288230376151707648
0000001111111111111111111111111111111111111111111110000000000000	
288230376151703552	288230376151703552
0000001111111111111111111111111111111111111111111100000000000000	
288230376151695360	288230376151695360
0000001111111111111111111111111111111111111111111000000000000000	
288230376151678976	288230376151678976
0000001111111111111111111111111111111111111111110000000000000000	
288230376151646208	288230376151646208
0000001111111111111111111111111111111111111111100000000000000000	
288230376151580672	288230376151580672
0000001111111111111111111111111111111111111111000000000000000000	
288230376151449600	288230376151449600
0000001111111111111111111111111111111111111110000000000000000000	
288230376151187456	288230376151187456
0000001111111111111111111111111111111111111100000000000000000000	
288230376150663168	288230376150663168
0000001111111111111111111111111111111111111000000000000000000000	
288230376149614592	288230376149614592
0000001111111111111111111111111111111111110000000000000000000000	
288230376147517440	288230376147517440
0000001111111111111111111111111111111111100000000000000000000000	
288230376143323136	288230376143323136
0000001111111111111111111111111111111111000000000000000000000000	
288230376134934528	288230376134934528
0000001111111111111111111111111111111110000000000000000000000000	
288230376118157312	288230376118157312
0000001111111111111111111111111111111100000000000000000000000000	
288230376084602880	288230376084602880
0000001111111111111111111111111111111000000000000000000000000000	
288230376017494016	288230376017494016
0000001111111111111111111111111111110000000000000000000000000000	
288230375883276288	288230375883276288
0000001111111111111111111111111111100000000000000000000000000000	
288230375614840832	288230375614840832
0000001111111111111111111111111111000000000000000000000000000000	
288230375077969920	288230375077969920
0000001111111111111111111111111110000000000000000000000000000000	
288230374004228096	288230374004228096
0000001111111111111111111111111100000000000000000000000000000000	
288230371856744448	288230371856744448
0000001111111111111111111111111000000000000000000000000000000000	
288230367561777152	288230367561777152
0000001111111111111111111111110000000000000000000000000000000000	
288230358971842560	288230358971842560
0000001111111111111111111111100000000000000000000000000000000000	
288230341791973376	288230341791973376
0000001111111111111111111111000000000000000000000000000000000000	
288230307432235008	288230307432235008
0000001111111111111111111110000000000000000000000000000000000000	
288230238712758272	288230238712758272
0000001111111111111111111100000000000000000000000000000000000000	
288230101273804800	288230101273804800
0000001111111111111111111000000000000000000000000000000000000000	
288229826395897856	288229826395897856
0000001111111111111111110000000000000000000000000000000000000000	
288229276640083968	288229276640083968
0000001111111111111111100000000000000000000000000000000000000000	
288228177128456192	288228177128456192
0000001111111111111111000000000000000000000000000000000000000000	
288225978105200640	288225978105200640
0000001111111111111110000000000000000000000000000000000000000000	
288221580058689536	288221580058689536
0000001111111111111100000000000000000000000000000000000000000000	
288212783965667328	288212783965667328
0000001111111111111000000000000000000000000000000000000000000000	
288195191779622912	288195191779622912
0000001111111111110000000000000000000000000000000000000000000000	
288160007407534080	288160007407534080
0000001111111111100000000000000000000000000000000000000000000000	
288089638663356416	288089638663356416
0000001111111111000000000000000000000000000000000000000000000000	
287948901175001088	287948901175001088
0000001111111110000000000000000000000000000000000000000000000000	
287667426198290432	287667426198290432
0000001111111100000000000000000000000000000000000000000000000000	
287104476244869120	287104476244869120
0000001111111000000000000000000000000000000000000000000000000000	
285978576338026496	285978576338026496
0000001111110000000000000000000000000000000000000000000000000000	
283726776524341248	283726776524341248
0000001111100000000000000000000000000000000000000000000000000000	
279223176896970752	279223176896970752
0000001111000000000000000000000000000000000000000000000000000000	
270215977642229760	270215977642229760
0000001110000000000000000000000000000000000000000000000000000000	
252201579132747776	252201579132747776
0000001100000000000000000000000000000000000000000000000000000000	
216172782113783808	216172782113783808
0000001000000000000000000000000000000000000000000000000000000000	
144115188075855872	144115188075855872

0000000111111111111111111111111111111111111111111111111111111111	
144115188075855871	144115188075855872
0000000111111111111111111111111111111111111111111111111111111110	
144115188075855870	144115188075855872
0000000111111111111111111111111111111111111111111111111111111100	
144115188075855868	144115188075855872
0000000111111111111111111111111111111111111111111111111111111000	
144115188075855864	144115188075855872
0000000111111111111111111111111111111111111111111111111111110000	
144115188075855856	144115188075855856
0000000111111111111111111111111111111111111111111111111111100000	
144115188075855840	144115188075855840
0000000111111111111111111111111111111111111111111111111111000000	
144115188075855808	144115188075855808
0000000111111111111111111111111111111111111111111111111110000000	
144115188075855744	144115188075855744
0000000111111111111111111111111111111111111111111111111100000000	
144115188075855616	144115188075855616
0000000111111111111111111111111111111111111111111111111000000000	
144115188075855360	144115188075855360
0000000111111111111111111111111111111111111111111111110000000000	
144115188075854848	144115188075854848
0000000111111111111111111111111111111111111111111111100000000000	
144115188075853824	144115188075853824
0000000111111111111111111111111111111111111111111111000000000000	
144115188075851776	144115188075851776
0000000111111111111111111111111111111111111111111110000000000000	
144115188075847680	144115188075847680
0000000111111111111111111111111111111111111111111100000000000000	
144115188075839488	144115188075839488
0000000111111111111111111111111111111111111111111000000000000000	
144115188075823104	144115188075823104
0000000111111111111111111111111111111111111111110000000000000000	
144115188075790336	144115188075790336
0000000111111111111111111111111111111111111111100000000000000000	
144115188075724800	144115188075724800
0000000111111111111111111111111111111111111111000000000000000000	
144115188075593728	144115188075593728
0000000111111111111111111111111111111111111110000000000000000000	
144115188075331584	144115188075331584
0000000111111111111111111111111111111111111100000000000000000000	
144115188074807296	144115188074807296
0000000111111111111111111111111111111111111000000000000000000000	
144115188073758720	144115188073758720
0000000111111111111111111111111111111111110000000000000000000000	
144115188071661568	144115188071661568
0000000111111111111111111111111111111111100000000000000000000000	
144115188067467264	144115188067467264
0000000111111111111111111111111111111111000000000000000000000000	
144115188059078656	144115188059078656
0000000111111111111111111111111111111110000000000000000000000000	
144115188042301440	144115188042301440
0000000111111111111111111111111111111100000000000000000000000000	
144115188008747008	144115188008747008
0000000111111111111111111111111111111000000000000000000000000000	
144115187941638144	144115187941638144
0000000111111111111111111111111111110000000000000000000000000000	
144115187807420416	144115187807420416
0000000111111111111111111111111111100000000000000000000000000000	
144115187538984960	144115187538984960
0000000111111111111111111111111111000000000000000000000000000000	
144115187002114048	144115187002114048
0000000111111111111111111111111110000000000000000000000000000000	
144115185928372224	144115185928372224
0000000111111111111111111111111100000000000000000000000000000000	
144115183780888576	144115183780888576
0000000111111111111111111111111000000000000000000000000000000000	
144115179485921280	144115179485921280
0000000111111111111111111111110000000000000000000000000000000000	
144115170895986688	144115170895986688
0000000111111111111111111111100000000000000000000000000000000000	
144115153716117504	144115153716117504
0000000111111111111111111111000000000000000000000000000000000000	
144115119356379136	144115119356379136
0000000111111111111111111110000000000000000000000000000000000000	
144115050636902400	144115050636902400
0000000111111111111111111100000000000000000000000000000000000000	
144114913197948928	144114913197948928
0000000111111111111111111000000000000000000000000000000000000000	
144114638320041984	144114638320041984
0000000111111111111111110000000000000000000000000000000000000000	
144114088564228096	144114088564228096
0000000111111111111111100000000000000000000000000000000000000000	
144112989052600320	144112989052600320
0000000111111111111111000000000000000000000000000000000000000000	
144110790029344768	144110790029344768
0000000111111111111110000000000000000000000000000000000000000000	
144106391982833664	144106391982833664
0000000111111111111100000000000000000000000000000000000000000000	
144097595889811456	144097595889811456
0000000111111111111000000000000000000000000000000000000000000000	
144080003703767040	144080003703767040
0000000111111111110000000000000000000000000000000000000000000000	
144044819331678208	144044819331678208
0000000111111111100000000000000000000000000000000000000000000000	
143974450587500544	143974450587500544
0000000111111111000000000000000000000000000000000000000000000000	
143833713099145216	143833713099145216
0000000111111110000000000000000000000000000000000000000000000000	
143552238122434560	143552238122434560
0000000111111100000000000000000000000000000000000000000000000000	
142989288169013248	142989288169013248
0000000111111000000000000000000000000000000000000000000000000000	
141863388262170624	141863388262170624
0000000111110000000000000000000000000000000000000000000000000000	
139611588448485376	139611588448485376
0000000111100000000000000000000000000000000000000000000000000000	
135107988821114880	135107988821114880
0000000111000000000000000000000000000000000000000000000000000000	
126100789566373888	126100789566373888
0000000110000000000000000000000000000000000000000000000000000000	
108086391056891904	108086391056891904
0000000100000000000000000000000000000000000000000000000000000000	
72057594037927936	72057594037927936

0000000011111111111111111111111111111111111111111111111111111111	
72057594037927935	72057594037927936
0000000011111111111111111111111111111111111111111111111111111110	
72057594037927934	72057594037927936
0000000011111111111111111111111111111111111111111111111111111100	
72057594037927932	72057594037927936
0000000011111111111111111111111111111111111111111111111111111000	
72057594037927928	72057594037927928
0000000011111111111111111111111111111111111111111111111111110000	
72057594037927920	72057594037927920
0000000011111111111111111111111111111111111111111111111111100000	
72057594037927904	72057594037927904
0000000011111111111111111111111111111111111111111111111111000000	
72057594037927872	72057594037927872
0000000011111111111111111111111111111111111111111111111110000000	
72057594037927808	72057594037927808
0000000011111111111111111111111111111111111111111111111100000000	
72057594037927680	72057594037927680
0000000011111111111111111111111111111111111111111111111000000000	
72057594037927424	72057594037927424
0000000011111111111111111111111111111111111111111111110000000000	
72057594037926912	72057594037926912
0000000011111111111111111111111111111111111111111111100000000000	
72057594037925888	72057594037925888
0000000011111111111111111111111111111111111111111111000000000000	
72057594037923840	72057594037923840
0000000011111111111111111111111111111111111111111110000000000000	
72057594037919744	72057594037919744
0000000011111111111111111111111111111111111111111100000000000000	
72057594037911552	72057594037911552
0000000011111111111111111111111111111111111111111000000000000000	
72057594037895168	72057594037895168
0000000011111111111111111111111111111111111111110000000000000000	
72057594037862400	72057594037862400
0000000011111111111111111111111111111111111111100000000000000000	
72057594037796864	72057594037796864
0000000011111111111111111111111111111111111111000000000000000000	
72057594037665792	72057594037665792
0000000011111111111111111111111111111111111110000000000000000000	
72057594037403648	72057594037403648
0000000011111111111111111111111111111111111100000000000000000000	
72057594036879360	72057594036879360
0000000011111111111111111111111111111111111000000000000000000000	
72057594035830784	72057594035830784
0000000011111111111111111111111111111111110000000000000000000000	
72057594033733632	72057594033733632
0000000011111111111111111111111111111111100000000000000000000000	
72057594029539328	72057594029539328
0000000011111111111111111111111111111111000000000000000000000000	
72057594021150720	72057594021150720
0000000011111111111111111111111111111110000000000000000000000000	
72057594004373504	72057594004373504
0000000011111111111111111111111111111100000000000000000000000000	
72057593970819072	72057593970819072
0000000011111111111111111111111111111000000000000000000000000000	
72057593903710208	72057593903710208
0000000011111111111111111111111111110000000000000000000000000000	
72057593769492480	72057593769492480
0000000011111111111111111111111111100000000000000000000000000000	
72057593501057024	72057593501057024
0000000011111111111111111111111111000000000000000000000000000000	
72057592964186112	72057592964186112
0000000011111111111111111111111110000000000000000000000000000000	
72057591890444288	72057591890444288
0000000011111111111111111111111100000000000000000000000000000000	
72057589742960640	72057589742960640
0000000011111111111111111111111000000000000000000000000000000000	
72057585447993344	72057585447993344
0000000011111111111111111111110000000000000000000000000000000000	
72057576858058752	72057576858058752
0000000011111111111111111111100000000000000000000000000000000000	
72057559678189568	72057559678189568
0000000011111111111111111111000000000000000000000000000000000000	
72057525318451200	72057525318451200
0000000011111111111111111110000000000000000000000000000000000000	
72057456598974464	72057456598974464
0000000011111111111111111100000000000000000000000000000000000000	
72057319160020992	72057319160020992
0000000011111111111111111000000000000000000000000000000000000000	
72057044282114048	72057044282114048
0000000011111111111111110000000000000000000000000000000000000000	
72056494526300160	72056494526300160
0000000011111111111111100000000000000000000000000000000000000000	
72055395014672384	72055395014672384
0000000011111111111111000000000000000000000000000000000000000000	
72053195991416832	72053195991416832
0000000011111111111110000000000000000000000000000000000000000000	
72048797944905728	72048797944905728
0000000011111111111100000000000000000000000000000000000000000000	
72040001851883520	72040001851883520
0000000011111111111000000000000000000000000000000000000000000000	
72022409665839104	72022409665839104
0000000011111111110000000000000000000000000000000000000000000000	
71987225293750272	71987225293750272
0000000011111111100000000000000000000000000000000000000000000000	
71916856549572608	71916856549572608
0000000011111111000000000000000000000000000000000000000000000000	
71776119061217280	71776119061217280
0000000011111110000000000000000000000000000000000000000000000000	
71494644084506624	71494644084506624
0000000011111100000000000000000000000000000000000000000000000000	
70931694131085312	70931694131085312
0000000011111000000000000000000000000000000000000000000000000000	
69805794224242688	69805794224242688
0000000011110000000000000000000000000000000000000000000000000000	
67553994410557440	67553994410557440
0000000011100000000000000000000000000000000000000000000000000000	
63050394783186944	63050394783186944
0000000011000000000000000000000000000000000000000000000000000000	
54043195528445952	54043195528445952
0000000010000000000000000000000000000000000000000000000000000000	
36028797018963968	36028797018963968

0000000001111111111111111111111111111111111111111111111111111111	
36028797018963967	36028797018963968
0000000001111111111111111111111111111111111111111111111111111110	
36028797018963966	36028797018963968
0000000001111111111111111111111111111111111111111111111111111100	
36028797018963964	36028797018963964
0000000001111111111111111111111111111111111111111111111111111000	
36028797018963960	36028797018963960
0000000001111111111111111111111111111111111111111111111111110000	
36028797018963952	36028797018963952
0000000001111111111111111111111111111111111111111111111111100000	
36028797018963936	36028797018963936
0000000001111111111111111111111111111111111111111111111111000000	
36028797018963904	36028797018963904
0000000001111111111111111111111111111111111111111111111110000000	
36028797018963840	36028797018963840
0000000001111111111111111111111111111111111111111111111100000000	
36028797018963712	36028797018963712
0000000001111111111111111111111111111111111111111111111000000000	
36028797018963456	36028797018963456
0000000001111111111111111111111111111111111111111111110000000000	
36028797018962944	36028797018962944
0000000001111111111111111111111111111111111111111111100000000000	
36028797018961920	36028797018961920
0000000001111111111111111111111111111111111111111111000000000000	
36028797018959872	36028797018959872
0000000001111111111111111111111111111111111111111110000000000000	
36028797018955776	36028797018955776
0000000001111111111111111111111111111111111111111100000000000000	
36028797018947584	36028797018947584
0000000001111111111111111111111111111111111111111000000000000000	
36028797018931200	36028797018931200
0000000001111111111111111111111111111111111111110000000000000000	
36028797018898432	36028797018898432
0000000001111111111111111111111111111111111111100000000000000000	
36028797018832896	36028797018832896
0000000001111111111111111111111111111111111111000000000000000000	
36028797018701824	36028797018701824
0000000001111111111111111111111111111111111110000000000000000000	
36028797018439680	36028797018439680
0000000001111111111111111111111111111111111100000000000000000000	
36028797017915392	36028797017915392
0000000001111111111111111111111111111111111000000000000000000000	
36028797016866816	36028797016866816
0000000001111111111111111111111111111111110000000000000000000000	
36028797014769664	36028797014769664
0000000001111111111111111111111111111111100000000000000000000000	
36028797010575360	36028797010575360
0000000001111111111111111111111111111111000000000000000000000000	
36028797002186752	36028797002186752
0000000001111111111111111111111111111110000000000000000000000000	
36028796985409536	36028796985409536
0000000001111111111111111111111111111100000000000000000000000000	
36028796951855104	36028796951855104
0000000001111111111111111111111111111000000000000000000000000000	
36028796884746240	36028796884746240
0000000001111111111111111111111111110000000000000000000000000000	
36028796750528512	36028796750528512
0000000001111111111111111111111111100000000000000000000000000000	
36028796482093056	36028796482093056
0000000001111111111111111111111111000000000000000000000000000000	
36028795945222144	36028795945222144
0000000001111111111111111111111110000000000000000000000000000000	
36028794871480320	36028794871480320
0000000001111111111111111111111100000000000000000000000000000000	
36028792723996672	36028792723996672
0000000001111111111111111111111000000000000000000000000000000000	
36028788429029376	36028788429029376
0000000001111111111111111111110000000000000000000000000000000000	
36028779839094784	36028779839094784
0000000001111111111111111111100000000000000000000000000000000000	
36028762659225600	36028762659225600
0000000001111111111111111111000000000000000000000000000000000000	
36028728299487232	36028728299487232
0000000001111111111111111110000000000000000000000000000000000000	
36028659580010496	36028659580010496
0000000001111111111111111100000000000000000000000000000000000000	
36028522141057024	36028522141057024
0000000001111111111111111000000000000000000000000000000000000000	
36028247263150080	36028247263150080
0000000001111111111111110000000000000000000000000000000000000000	
36027697507336192	36027697507336192
0000000001111111111111100000000000000000000000000000000000000000	
36026597995708416	36026597995708416
0000000001111111111111000000000000000000000000000000000000000000	
36024398972452864	36024398972452864
0000000001111111111110000000000000000000000000000000000000000000	
36020000925941760	36020000925941760
0000000001111111111100000000000000000000000000000000000000000000	
36011204832919552	36011204832919552
0000000001111111111000000000000000000000000000000000000000000000	
35993612646875136	35993612646875136
0000000001111111110000000000000000000000000000000000000000000000	
35958428274786304	35958428274786304
0000000001111111100000000000000000000000000000000000000000000000	
35888059530608640	35888059530608640
0000000001111111000000000000000000000000000000000000000000000000	
35747322042253312	35747322042253312
0000000001111110000000000000000000000000000000000000000000000000	
35465847065542656	35465847065542656
0000000001111100000000000000000000000000000000000000000000000000	
34902897112121344	34902897112121344
0000000001111000000000000000000000000000000000000000000000000000	
33776997205278720	33776997205278720
0000000001110000000000000000000000000000000000000000000000000000	
31525197391593472	31525197391593472
0000000001100000000000000000000000000000000000000000000000000000	
27021597764222976	27021597764222976
0000000001000000000000000000000000000000000000000000000000000000	
18014398509481984	18014398509481984

0000000000111111111111111111111111111111111111111111111111111111	
18014398509481983	18014398509481984
0000000000111111111111111111111111111111111111111111111111111110	
18014398509481982	18014398509481982
0000000000111111111111111111111111111111111111111111111111111100	
18014398509481980	18014398509481980
0000000000111111111111111111111111111111111111111111111111111000	
18014398509481976	18014398509481976
0000000000111111111111111111111111111111111111111111111111110000	
18014398509481968	18014398509481968
0000000000111111111111111111111111111111111111111111111111100000	
18014398509481952	18014398509481952
0000000000111111111111111111111111111111111111111111111111000000	
18014398509481920	18014398509481920
0000000000111111111111111111111111111111111111111111111110000000	
18014398509481856	18014398509481856
0000000000111111111111111111111111111111111111111111111100000000	
18014398509481728	18014398509481728
0000000000111111111111111111111111111111111111111111111000000000	
18014398509481472	18014398509481472
0000000000111111111111111111111111111111111111111111110000000000	
18014398509480960	18014398509480960
0000000000111111111111111111111111111111111111111111100000000000	
18014398509479936	18014398509479936
00000000001111111111111111111111111111111111111111110000000000

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-16 15:19 UTC] cataphract@php.net
You're fedding 64-bit numbers to bindec. Since PHP 64-bit integers are signed and your first digit is 1, the number cannot be represented as a PHP integer. PHP then uses a float, as the documentation describes, but at this point the ULP is much smaller than 1 and changing the least significant bits has no effect.

Closing (bogus report).
 [2012-03-16 15:19 UTC] cataphract@php.net
-Status: Open +Status: Not a bug
 [2012-03-16 15:20 UTC] cataphract@php.net
read: ... much larger than 1 ...
 [2012-03-16 20:39 UTC] charlie at 8opus dot com
It will happen for first 10 digits
 [2012-03-16 21:48 UTC] cataphract@php.net
Sounds about right, as IEEE 754-2008 double precision numbers have 53 bit mantissas.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 06:01:23 2020 UTC