gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit28a82fa228a82fa2jukebox: README, STATUS, LOG, DECISIONSmre28a82fa2/plugins/math/server.hl

686 B

  1. PI = __native("math.pi")
  2. E = __native("math.e")
  3. abs(x) {
  4. return __native("math.abs", x)
  5. }
  6. floor(x) {
  7. return __native("math.floor", x)
  8. }
  9. ceil(x) {
  10. return __native("math.ceil", x)
  11. }
  12. round(x) {
  13. return __native("math.round", x)
  14. }
  15. sqrt(x) {
  16. return __native("math.sqrt", x)
  17. }
  18. pow(base, exp) {
  19. return __native("math.pow", base, exp)
  20. }
  21. min(a, b, c, d) {
  22. return __native("math.min", a, b, c, d)
  23. }
  24. max(a, b, c, d) {
  25. return __native("math.max", a, b, c, d)
  26. }
  27. random() {
  28. return __native("math.random")
  29. }
  30. log(x) {
  31. return __native("math.log", x)
  32. }
  33. sin(x) {
  34. return __native("math.sin", x)
  35. }
  36. cos(x) {
  37. return __native("math.cos", x)
  38. }
  39. tan(x) {
  40. return __native("math.tan", x)
  41. }

Branches

Latest commits

  • 28a82fa2jukebox: README, STATUS, LOG, DECISIONSmre
  • d13987dfjukebox: library scanner, ID3 reader, mpackdb database and JSON API, with fixtures and a gatemre