From 87a6ab4f9ac7b2b2c0438a724bfe971ec9231714 Mon Sep 17 00:00:00 2001 From: Karen Sargsyan Date: Sun, 22 May 2016 15:32:40 +0800 Subject: asin, acos, atan, atan2 added --- lib/js/urweb.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/js') 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"; -- cgit v1.2.3