summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Karen Sargsyan <karsar@ibms.sinica.edu.tw>2016-05-22 15:32:40 +0800
committerGravatar Karen Sargsyan <karsar@ibms.sinica.edu.tw>2016-05-22 15:32:40 +0800
commit87a6ab4f9ac7b2b2c0438a724bfe971ec9231714 (patch)
tree5f93f594307574fd32f2bc165b3dfa7715c627a8 /tests
parent22527df1714c83e968913dabba4ba3ec81adc20c (diff)
asin, acos, atan, atan2 added
Diffstat (limited to 'tests')
-rw-r--r--tests/math.ur8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/math.ur b/tests/math.ur
index 8892fffe..5f8843de 100644
--- a/tests/math.ur
+++ b/tests/math.ur
@@ -11,4 +11,12 @@ fun main () = return <xml><body>
{[(log 0.1)]}
<button value="Exp of 0.1!" onclick={fn _ => alert (show (exp 0.1))}/>
{[(exp 0.1)]}
+ <button value="asin of 0.1!" onclick={fn _ => alert (show (asin 0.1))}/>
+ {[(asin 0.1)]}
+ <button value="acos of 0.1!" onclick={fn _ => alert (show (acos 0.1))}/>
+ {[(acos 0.1)]}
+ <button value="atan of 0.1!" onclick={fn _ => alert (show (atan 0.1))}/>
+ {[(atan 0.1)]}
+ <button value="atan2 of 0.1 and -0.2!" onclick={fn _ => alert (show (atan2 0.1 -0.2))}/>
+ {[(atan2 0.1 -0.2)]}
</body></xml>