[pypy-svn] r76147 - pypy/branch/fast-forward/pypy/rlib

benjamin at codespeak.net benjamin at codespeak.net
Mon Jul 12 15:59:06 CEST 2010


Author: benjamin
Date: Mon Jul 12 15:59:04 2010
New Revision: 76147

Modified:
   pypy/branch/fast-forward/pypy/rlib/rarithmetic.py
Log:
I still need these constants

Modified: pypy/branch/fast-forward/pypy/rlib/rarithmetic.py
==============================================================================
--- pypy/branch/fast-forward/pypy/rlib/rarithmetic.py	(original)
+++ pypy/branch/fast-forward/pypy/rlib/rarithmetic.py	Mon Jul 12 15:59:04 2010
@@ -50,6 +50,9 @@
 LONG_MASK = _Ltest*2-1
 LONG_TEST = _Ltest
 
+FL_MAXINT = float(LONG_TEST - 1)
+FL_MININT = float(-LONG_TEST)
+
 INFINITY = 1e200 * 1e200
 NAN = INFINITY / INFINITY
 



More information about the Pypy-commit mailing list