PageRenderTime 116ms CodeModel.GetById 114ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/library/builtins/math.py

http://pyjamas.googlecode.com/
Python | 19 lines | 19 code | 0 blank | 0 comment | 0 complexity | 752e0f9dec219376e7a13873006052ef MD5 | raw file
 1JS("""
 2var math_ceil = Math.ceil;
 3var math_fabs = Math.abs;
 4var math_floor = Math.floor;
 5var math_exp = Math.exp;
 6var math_log = Math.log;
 7var math_pow = Math.pow;
 8var math_sqrt = Math.sqrt;
 9var math_cos = Math.cos;
10var math_sin = Math.sin;
11var math_tan = Math.tan;
12var math_acos = Math.acos;
13var math_asin = Math.asin;
14var math_atan = Math.atan;
15var math_atan2 = Math.atan2;
16
17var math_pi = Math.PI;
18var math_e = Math.E;
19""")