Mercurial > octave
comparison libinterp/corefcn/pr-flt-fmt.cc @ 30588:ed17822e7662
doc: Always have a return value for functions which set internal variables (bug #61681)
* call-stack.cc, dirfns.cc, environment.cc, error.cc, help.cc, input.cc,
load-save.cc, ls-oct-text.cc, oct-hist.cc, pager.cc, pr-flt-fmt.cc,
pr-output.cc, sighandlers.cc, svd.cc, variables.cc, ov-base.cc, ov-java.cc,
ov-struct.cc, ov-usr-fcn.cc, ov.cc, pt-eval.cc, disable_diagonal_matrix.m,
disable_permutation_matrix.m, disable_range.m:
Always have a return value for functions which set internal variables.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 01 Jan 2022 19:43:52 -0800 |
parents | 796f54d4ddbf |
children | e88a07dec498 |
comparison
equal
deleted
inserted
replaced
30587:5d379d2ad903 | 30588:ed17822e7662 |
---|---|
52 | 52 |
53 DEFUN (output_precision, args, nargout, | 53 DEFUN (output_precision, args, nargout, |
54 doc: /* -*- texinfo -*- | 54 doc: /* -*- texinfo -*- |
55 @deftypefn {} {@var{val} =} output_precision () | 55 @deftypefn {} {@var{val} =} output_precision () |
56 @deftypefnx {} {@var{old_val} =} output_precision (@var{new_val}) | 56 @deftypefnx {} {@var{old_val} =} output_precision (@var{new_val}) |
57 @deftypefnx {} {} output_precision (@var{new_val}, "local") | 57 @deftypefnx {} {@var{old_val} =} output_precision (@var{new_val}, "local") |
58 Query or set the internal variable that specifies the minimum number of | 58 Query or set the internal variable that specifies the minimum number of |
59 significant figures to display for numeric output. | 59 significant figures to display for numeric output. |
60 | 60 |
61 Note that regardless of the value set for @code{output_precision}, the | 61 Note that regardless of the value set for @code{output_precision}, the |
62 number of digits of precision displayed is limited to 16 for double | 62 number of digits of precision displayed is limited to 16 for double |