[MacPorts] #32072: Python: powers of two are screwed up starting at 2**63

MacPorts noreply at macports.org
Tue Nov 15 07:46:59 PST 2011


#32072: Python: powers of two are screwed up starting at 2**63
-----------------------------------------+----------------------------------
 Reporter:  singingwolfboy@…             |       Owner:  jwa@…            
     Type:  defect                       |      Status:  new              
 Priority:  Normal                       |   Milestone:                   
Component:  ports                        |     Version:  2.0.3            
 Keywords:                               |        Port:  python25 python27
-----------------------------------------+----------------------------------
Changes (by macsforever2000@…):

  * keywords:  python =>


Comment:

 I cannot reproduce this issue on python26.

 {{{

 In [2]: 2**62
 Out[2]: 4611686018427387904

 In [3]: 2**63
 Out[3]: 9223372036854775808L

 In [4]: 2**64
 Out[4]: 18446744073709551616L

 In [5]: 2**65
 Out[5]: 36893488147419103232L

 In [6]: 2**66
 Out[6]: 73786976294838206464L

 In [7]: 2**67
 Out[7]: 147573952589676412928L
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32072#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list