Commits

Anonymous committed c0c22f0

Float multiplication (it somewhat works when SHIFT = 63)

Comments (0)

Files changed (1)

pypy/rlib/rbigint.py

     LONG_TYPE = rffi.LONGLONG
 
 MASK = BASE - 1
-FLOAT_MULTIPLIER = float(1 << LONG_BIT) # Because it works.
+FLOAT_MULTIPLIER = float(1 << SHIFT)
 
 # Debugging digit array access.
 #