summaryrefslogtreecommitdiff
path: root/doc/eval.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-03 23:31:14 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-19 12:38:14 +0200
commit9bc393908a6b522c93034b87b8f9f21cb13d7d69 (patch)
treebfd619d0411ebcecc66c07b9eab6ad1979cd204b /doc/eval.texi
parent3e033da84782e12ed529e6a88dd53b6a72199e8e (diff)
eval: add sqrt function for computing the square root
Diffstat (limited to 'doc/eval.texi')
-rw-r--r--doc/eval.texi4
1 files changed, 4 insertions, 0 deletions
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: