diff options
author | Karen Sargsyan <karsar@ibms.sinica.edu.tw> | 2016-05-22 15:32:40 +0800 |
---|---|---|
committer | Karen Sargsyan <karsar@ibms.sinica.edu.tw> | 2016-05-22 15:32:40 +0800 |
commit | 87a6ab4f9ac7b2b2c0438a724bfe971ec9231714 (patch) | |
tree | 5f93f594307574fd32f2bc165b3dfa7715c627a8 /lib/js | |
parent | 22527df1714c83e968913dabba4ba3ec81adc20c (diff) |
asin, acos, atan, atan2 added
Diffstat (limited to 'lib/js')
-rw-r--r-- | lib/js/urweb.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index 7842775b..55925df5 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -135,6 +135,22 @@ function log(n){ function exp(n){ return Math.exp(n); } + +function asin(n){ + return Math.asin(n); +} +function acos(n){ + return Math.acos(n); +} + +function atan(n){ + return Math.atan(n); +} + +function atan2(n, m){ + return Math.atan2(n, m); +} + // Time, represented as counts of microseconds since the epoch var time_format = "%c"; |