[pypy-commit] pypy default: Fix (I think) log1p on Windows.

arigo noreply at buildbot.pypy.org
Thu Nov 22 17:05:46 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r59038:f927eb02fb5c
Date: 2012-11-22 17:05 +0100
http://bitbucket.org/pypy/pypy/changeset/f927eb02fb5c/

Log:	Fix (I think) log1p on Windows.

diff --git a/pypy/rpython/lltypesystem/module/ll_math.py b/pypy/rpython/lltypesystem/module/ll_math.py
--- a/pypy/rpython/lltypesystem/module/ll_math.py
+++ b/pypy/rpython/lltypesystem/module/ll_math.py
@@ -58,7 +58,7 @@
 math_fabs = llexternal('fabs', [rffi.DOUBLE], rffi.DOUBLE)
 math_log = llexternal('log', [rffi.DOUBLE], rffi.DOUBLE)
 math_log10 = llexternal('log10', [rffi.DOUBLE], rffi.DOUBLE)
-math_log1p = llexternal('log1p', [rffi.DOUBLE], rffi.DOUBLE)
+math_log1p = math_llexternal('log1p', [rffi.DOUBLE], rffi.DOUBLE)
 math_copysign = llexternal(underscore + 'copysign',
                            [rffi.DOUBLE, rffi.DOUBLE], rffi.DOUBLE,
                            elidable_function=True)


More information about the pypy-commit mailing list