X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fexpressions.texi;h=7180bf8793ea24a3c0907c13d70eb3ce1e7ef87e;hb=6127c33ca07fc592fd9624638f28248aaa9e317e;hp=1570d0dfb437ce72072a677b52898484534395cd;hpb=30b49ef972d0ff4cd5f5ecda6a447968bc05f356;p=pspp diff --git a/doc/expressions.texi b/doc/expressions.texi index 1570d0dfb4..7180bf8793 100644 --- a/doc/expressions.texi +++ b/doc/expressions.texi @@ -331,9 +331,13 @@ Returns the remainder when @var{number} is divided by 10. If @end deftypefn @cindex rounding -@deftypefn {Function} {} RND (@var{number}) -Takes the absolute value of @var{number} and rounds it to an integer. -Then, if @var{number} was negative originally, negates the result. +@deftypefn {Function} {} RND (@var{number} [, @var{mult}[, @var{fuzzbits}]]) +Rounds @var{number} and rounds it to a multiple of @var{mult} (by +default 1). Halves are rounded away from zero, as are values that +fall short of halves by less than @var{fuzzbits} of errors in the +least-significant bits of @var{number}. If @var{fuzzbits} is not +specified then the default is taken from SET FUZZBITS (@pxref{SET +FUZZBITS}), which is 6 unless overridden. @end deftypefn @cindex truncation