Debian Codegraph @

pypy/module/math/moduledef.py

raw symbols SCIP
1
2 # Package initialisation
3 from pypy.interpreter.mixedmodule import MixedModule
4
5 class Module(MixedModule):
6 appleveldefs = {
7 'factorial' : 'app_math.factorial',
8 'remainder' : 'app_math.remainder',
9 'isqrt' : 'app_math.isqrt',
10 'prod' : 'app_math.prod',
11 'comb' : 'app_math.comb',
12 'perm' : 'app_math.perm',
13 'lcm' : 'app_math.lcm',
14 }
15
16 interpleveldefs = {
17 'e' : 'interp_math.get(space).w_e',
18 'pi' : 'interp_math.get(space).w_pi',
19 'tau' : 'interp_math.get(space).w_tau',
20 'inf' : 'interp_math.get(space).w_inf',
21 'nan' : 'interp_math.get(space).w_nan',
22 'pow' : 'interp_math.pow',
23 'cosh' : 'interp_math.cosh',
24 'copysign' : 'interp_math.copysign',
25 'ldexp' : 'interp_math.ldexp',
26 'hypot' : 'interp_math.hypot',
27 'dist' : 'interp_math.dist',
28 'tan' : 'interp_math.tan',
29 'asin' : 'interp_math.asin',
30 'fabs' : 'interp_math.fabs',
31 'floor' : 'interp_math.floor',
32 'sqrt' : 'interp_math.sqrt',
33 'frexp' : 'interp_math.frexp',
34 'degrees' : 'interp_math.degrees',
35 'log' : 'interp_math.log',
36 'log2' : 'interp_math.log2',
37 'log10' : 'interp_math.log10',
38 'fmod' : 'interp_math.fmod',
39 'atan' : 'interp_math.atan',
40 'ceil' : 'interp_math.ceil',
41 'sinh' : 'interp_math.sinh',
42 'cos' : 'interp_math.cos',
43 'tanh' : 'interp_math.tanh',
44 'radians' : 'interp_math.radians',
45 'sin' : 'interp_math.sin',
46 'atan2' : 'interp_math.atan2',
47 'modf' : 'interp_math.modf',
48 'exp' : 'interp_math.exp',
49 'exp2' : 'interp_math.exp2',
50 'expm1' : 'interp_math.expm1',
51 'acos' : 'interp_math.acos',
52 'isinf' : 'interp_math.isinf',
53 'isnan' : 'interp_math.isnan',
54 'isfinite' : 'interp_math.isfinite',
55 'trunc' : 'interp_math.trunc',
56 'fsum' : 'interp_math.fsum',
57 'asinh' : 'interp_math.asinh',
58 'acosh' : 'interp_math.acosh',
59 'atanh' : 'interp_math.atanh',
60 'log1p' : 'interp_math.log1p',
61 'expm1' : 'interp_math.expm1',
62 'erf' : 'interp_math.erf',
63 'erfc' : 'interp_math.erfc',
64 'gamma' : 'interp_math.gamma',
65 'lgamma' : 'interp_math.lgamma',
66 'isclose' : 'interp_math.isclose',
67 'gcd' : 'interp_math.gcd',
68 'nextafter' : 'interp_math.nextafter',
69 'ulp' : 'interp_math.ulp',
70 'cbrt' : 'interp_math.cbrt',
71 }
72