comparison doc/interpreter/numbers.txi @ 28652:bb0ca2753bc2 stable

update docs for built-in variables (bug #58988) * basics.txi, expr.txi, io.txi, numbers.txi, oop.txi, var.txi: Refer to functions, not built-in variables. Update docs for ans. Correct output of simple expression like "pi" to display "ans =" rather than "pi =".
author John W. Eaton <jwe@octave.org>
date Wed, 26 Aug 2020 13:27:48 -0400
parents 31b95261c7d2
children 605275522c37
comparison
equal deleted inserted replaced
28651:410f162af184 28652:bb0ca2753bc2
299 @DOCSTRING(split_long_rows) 299 @DOCSTRING(split_long_rows)
300 300
301 Octave automatically switches to scientific notation when values become 301 Octave automatically switches to scientific notation when values become
302 very large or very small. This guarantees that you will see several 302 very large or very small. This guarantees that you will see several
303 significant figures for every value in a matrix. If you would prefer to 303 significant figures for every value in a matrix. If you would prefer to
304 see all values in a matrix printed in a fixed point format, you can set 304 see all values in a matrix printed in a fixed point format, you can use
305 the built-in variable @code{fixed_point_format} to a nonzero value. But 305 the function @code{fixed_point_format}. But doing so is not
306 doing so is not recommended, because it can produce output that can 306 recommended, because it can produce output that can easily be
307 easily be misinterpreted. 307 misinterpreted.
308 308
309 @DOCSTRING(fixed_point_format) 309 @DOCSTRING(fixed_point_format)
310 310
311 @menu 311 @menu
312 * Empty Matrices:: 312 * Empty Matrices::