# HG changeset patch # User Rik # Date 1282091466 25200 # Node ID 4176c5c621385213cbbe5e4d447b179a20efe6cd # Parent 89f13bc14494a6c35fbef1172cfc5be67650d339 Imrove documentation string for sizemax diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,6 +4,10 @@ 2010-08-13 Rik + * bitfcns.cc (sizemax): Improve documentation string. + +2010-08-13 Rik + * toplev.c (do_goto_frame_relative): Remove unused variable c. 2010-08-13 Jaroslav Hajek diff --git a/src/bitfcns.cc b/src/bitfcns.cc --- a/src/bitfcns.cc +++ b/src/bitfcns.cc @@ -670,10 +670,11 @@ DEFUN (sizemax, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} sizemax ()\n\ -Return the largest value that is allowed as the size of an array.\n\ +Return the largest value allowed for the size of an array.\n\ If Octave is compiled with 64-bit indexing, the result is of class int64,\n\ -otherwise it is of class int32. It will be a tiny bit lower than the maximum\n\ -allowable value for that type, as reported by intmax.\n\ +otherwise it is of class int32. The maximum array size is slightly\n\ +smaller than the maximum value allowable for the relevant class as reported\n\ +by @code{intmax}.\n\ @seealso{intmax}\n\ @end deftypefn") {