From 9bc393908a6b522c93034b87b8f9f21cb13d7d69 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 3 May 2011 23:31:14 +0200 Subject: eval: add sqrt function for computing the square root --- doc/eval.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/eval.texi') diff --git a/doc/eval.texi b/doc/eval.texi index d8c693f304..4a9495cf30 100644 --- a/doc/eval.texi +++ b/doc/eval.texi @@ -72,6 +72,10 @@ integer. For example, "floor(-1.5)" is "-2.0". @item trunc(expr) Round the value of expression @var{expr} towards zero to the nearest integer. For example, "trunc(-1.5)" is "-1.0". + +@item sqrt(expr) +Compute the square root of @var{expr}. This is equivalent to +"(@var{expr})^.5". @end table Note that: -- cgit v1.2.3