[pypy-dev] Re: [pypy-svn] r16070 - pypy/dist/pypy/objspace/std
arigo at tunes.org
Mon Aug 15 10:59:38 CEST 2005
On Mon, Aug 15, 2005 at 10:54:01AM +0200, Eric van Riet Paap wrote:
> But why then did I get a call to ll_math_log10(int 2) in the backend?
Ah, oups. Correction: math.log10 is supposed to be allowed at
interp-level. I see that we use it to implement the app-level
math.log10(). If I remember the reasoning correctly, there was no point
in trying not to use log10() at interp-level because back-ends typically
provide this function directly (e.g. C has it in math.h).
So actually it's expected that you get ll_math_log10 in LLVM...
Sorry for the confusion,
More information about the Pypy-dev