From 22527df1714c83e968913dabba4ba3ec81adc20c Mon Sep 17 00:00:00 2001 From: Karen Sargsyan Date: Sat, 21 May 2016 18:00:59 +0800 Subject: Some basic math functions: pow, sqrt, sin, cos, log, exp are added to work at client and server sides --- lib/ur/basis.urs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/ur') diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 883cc5b1..45a17eb1 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -153,6 +153,13 @@ val ceil : float -> int val trunc : float -> int val round : float -> int +(** * Basic Math *) + +val sqrt : float -> float +val sin : float -> float +val cos : float -> float +val log : float -> float +val exp : float -> float (** * Time *) -- cgit v1.2.3