File: __init__.py

package info (click to toggle)
pypy3 7.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 111,848 kB
  • sloc: python: 1,291,746; ansic: 74,281; asm: 5,187; cpp: 3,017; sh: 2,533; makefile: 544; xml: 243; lisp: 45; csh: 21; awk: 4
file content (60 lines) | stat: -rw-r--r-- 2,477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

# Package initialisation
from pypy.interpreter.mixedmodule import MixedModule

class Module(MixedModule):
    appleveldefs = {
       'factorial' : 'app_math.factorial',
       'gcd' :       'app_math.gcd',
    }

    interpleveldefs = {
       'e'              : 'interp_math.get(space).w_e',
       'pi'             : 'interp_math.get(space).w_pi',
       'inf'            : 'interp_math.get(space).w_inf',
       'nan'            : 'interp_math.get(space).w_nan',
       'pow'            : 'interp_math.pow',
       'cosh'           : 'interp_math.cosh',
       'copysign'       : 'interp_math.copysign',
       'ldexp'          : 'interp_math.ldexp',
       'hypot'          : 'interp_math.hypot',
       'tan'            : 'interp_math.tan',
       'asin'           : 'interp_math.asin',
       'fabs'           : 'interp_math.fabs',
       'floor'          : 'interp_math.floor',
       'sqrt'           : 'interp_math.sqrt',
       'frexp'          : 'interp_math.frexp',
       'degrees'        : 'interp_math.degrees',
       'log'            : 'interp_math.log',
       'log2'           : 'interp_math.log2',
       'log10'          : 'interp_math.log10',
       'fmod'           : 'interp_math.fmod',
       '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',
       'atan2'          : 'interp_math.atan2',
       'modf'           : 'interp_math.modf',
       'exp'            : 'interp_math.exp',
       'expm1'          : 'interp_math.expm1',
       'acos'           : 'interp_math.acos',
       'isinf'          : 'interp_math.isinf',
       'isnan'          : 'interp_math.isnan',
       'isfinite'       : 'interp_math.isfinite',
       'trunc'          : 'interp_math.trunc',
       'fsum'           : 'interp_math.fsum',
       'asinh'          : 'interp_math.asinh',
       'acosh'          : 'interp_math.acosh',
       'atanh'          : 'interp_math.atanh',
       'log1p'          : 'interp_math.log1p',
       'expm1'          : 'interp_math.expm1',
       'erf'            : 'interp_math.erf',
       'erfc'           : 'interp_math.erfc',
       'gamma'          : 'interp_math.gamma',
       'lgamma'         : 'interp_math.lgamma',
       'isclose'        : 'interp_math.isclose',
}