PageRenderTime 25ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/library/builtins/math.py

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