[pypy-commit] pypy default: kill some silliness

gutworth noreply at buildbot.pypy.org
Tue Mar 13 18:39:20 CET 2012


Author: Benjamin Peterson <benjamin at python.org>
Branch: 
Changeset: r53451:03d358516643
Date: 2012-03-13 12:37 -0500
http://bitbucket.org/pypy/pypy/changeset/03d358516643/

Log:	kill some silliness

diff --git a/pypy/rlib/rfloat.py b/pypy/rlib/rfloat.py
--- a/pypy/rlib/rfloat.py
+++ b/pypy/rlib/rfloat.py
@@ -375,8 +375,7 @@
 
     def log1p(x):
         "NOT_RPYTHON"
-        from pypy.rlib import rfloat
-        if abs(x) < rfloat.DBL_EPSILON // 2.:
+        if abs(x) < DBL_EPSILON // 2.:
             return x
         elif -.5 <= x <= 1.:
             y = 1. + x


More information about the pypy-commit mailing list