[pypy-svn] r15173 - pypy/dist/pypy/module/math

hpk at codespeak.net hpk at codespeak.net
Wed Jul 27 13:02:47 CEST 2005


Author: hpk
Date: Wed Jul 27 13:02:47 2005
New Revision: 15173

Modified:
   pypy/dist/pypy/module/math/__init__.py
Log:
(pedronis,hpk)

commented out the math functions that
are not fully supported by the translation 
chain. 


Modified: pypy/dist/pypy/module/math/__init__.py
==============================================================================
--- pypy/dist/pypy/module/math/__init__.py	(original)
+++ pypy/dist/pypy/module/math/__init__.py	Wed Jul 27 13:02:47 2005
@@ -5,33 +5,37 @@
 class Module(MixedModule):
     appleveldefs = {
     }
+
+    # XXX the reason for the commented out names 
+    #     is that we need to add support to
+    #     extfunctable/translation
     interpleveldefs = {
        'e'              : 'interp_math.get(space).w_e', 
        'pi'             : 'interp_math.get(space).w_pi', 
-       'pow'            : 'interp_math.pow',
-       'cosh'           : 'interp_math.cosh',
+       #'pow'            : 'interp_math.pow',
+       #'cosh'           : 'interp_math.cosh',
        'ldexp'          : 'interp_math.ldexp',
-       'hypot'          : 'interp_math.hypot',
-       'tan'            : 'interp_math.tan',
-       'asin'           : 'interp_math.asin',
-       'log'            : 'interp_math.log',
-       'fabs'           : 'interp_math.fabs',
+       #'hypot'          : 'interp_math.hypot',
+       #'tan'            : 'interp_math.tan',
+       #'asin'           : 'interp_math.asin',
+       #'log'            : 'interp_math.log',
+       #'fabs'           : 'interp_math.fabs',
        'floor'          : 'interp_math.floor',
-       'sqrt'           : 'interp_math.sqrt',
+       #'sqrt'           : 'interp_math.sqrt',
        'frexp'          : 'interp_math.frexp',
-       'degrees'        : 'interp_math.degrees',
+       #'degrees'        : 'interp_math.degrees',
        'log10'          : 'interp_math.log10',
        'fmod'           : 'interp_math.fmod',
-       'atan'           : 'interp_math.atan',
+       #'atan'           : 'interp_math.atan',
        'ceil'           : 'interp_math.ceil',
-       'sinh'           : 'interp_math.sinh',
-       'cos'            : 'interp_math.cos',
-       'tanh'           : 'interp_math.tanh',
-       'radians'        : 'interp_math.radians',
-       'sin'            : 'interp_math.sin',
+       #'sinh'           : 'interp_math.sinh',
+       #'cos'            : 'interp_math.cos',
+       #'tanh'           : 'interp_math.tanh',
+       #'radians'        : 'interp_math.radians',
+       #'sin'            : 'interp_math.sin',
        'atan2'          : 'interp_math.atan2',
        'modf'           : 'interp_math.modf',
        'exp'            : 'interp_math.exp',
-       'acos'           : 'interp_math.acos',
+       #'acos'           : 'interp_math.acos',
 
 }



More information about the Pypy-commit mailing list