aboutsummaryrefslogtreecommitdiff
path: root/doc/eval.texi
diff options
context:
space:
mode:
authorStefano Sabatini2011-05-03 23:31:14 +0200
committerStefano Sabatini2011-05-05 18:38:35 +0200
commite5272e729e9991c1705f53e0bf421e8026fab0c9 (patch)
treedb30f1504c96c8bc68fc7434122cb6ae914fef3e /doc/eval.texi
parent5d2ce3a7782ade1ea661c139b58e2ab5389aaf17 (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 d0e04c0c3b..e07267bdfa 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: