X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fexpressions.texi;h=7180bf8793ea24a3c0907c13d70eb3ce1e7ef87e;hb=7425ac6542200f99857a855c00ee8585077ba6f2;hp=184589cba2e1ce9e8231c60d2de9c38c894927b0;hpb=f8b9ec9666ef4c368f4b91d256673efdec0541db;p=pspp diff --git a/doc/expressions.texi b/doc/expressions.texi index 184589cba2..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 @@ -1449,9 +1453,9 @@ Bernoulli distribution with probability of success @var{p}. Constraints: @var{x} = 0 or 1, 0 <= @var{p} <= 1. @end deftypefn -@deftypefn {Function} {} PDF.BINOMIAL (@var{x}, @var{n}, @var{p}) -@deftypefnx {Function} {} CDF.BINOMIAL (@var{x}, @var{n}, @var{p}) -@deftypefnx {Function} {} RV.BINOMIAL (@var{n}, @var{p}) +@deftypefn {Function} {} PDF.BINOM (@var{x}, @var{n}, @var{p}) +@deftypefnx {Function} {} CDF.BINOM (@var{x}, @var{n}, @var{p}) +@deftypefnx {Function} {} RV.BINOM (@var{n}, @var{p}) Binomial distribution with @var{n} trials and probability of success @var{p}. Constraints: integer @var{n} > 0, 0 <= @var{p} <= 1, integer @var{x} <= @var{n}.