[pypy-dev] Re: [pypy-svn] r15225 - in pypy/dist/pypy: module/math rpython rpython/module

holger krekel hpk at trillke.net
Thu Jul 28 16:04:04 CEST 2005


On Thu, Jul 28, 2005 at 14:03 +0200, holger krekel wrote:
> > +def ll_math_log(x):
> > +    return math.log(x)
> > +ll_math_log.suggested_primitive = True
> 
> 'log' actually takes two arguments (see pypy/module/math/interp_math.py
> or plain python's math.log).  

Actually (i just got to know) that the C backend's log() 
only takes one argument so Carl Friedrich just fixed
the invocation from the pypy/module/math module and
now the two signatures match.

    holger



More information about the Pypy-dev mailing list