Mercurial > hg > octave-lyh
diff doc/interpreter/numbers.txi @ 8534:0eb83938c8bc
Trivial fixes in numbers.txi
author | Thorsten Meyer <thorsten.meyier@gmx.de> |
---|---|
date | Sun, 18 Jan 2009 22:01:36 +0100 |
parents | fa78cb8d8a5c |
children | 8463d1a2e544 |
line wrap: on
line diff
--- a/doc/interpreter/numbers.txi +++ b/doc/interpreter/numbers.txi @@ -30,8 +30,9 @@ constants are represented within Octave in double-precision floating point format (complex constants are stored as pairs of double-precision floating point values). It is however possible to represent real -integers as described in @ref{Integer Data Types}. Here are some examples -of real-valued numeric constants, which all have the same value: +integers as described in @ref{Integer Data Types}. Here are some +examples of real-valued numeric constants, which all have the same +value: @example @group @@ -412,7 +413,7 @@ Octave includes support for single precision data types, and most of the functions in Octave accept single precision values and return single precion answers. A single precision variable is created with the -@code{sample} function. +@code{single} function. @DOCSTRING(single) @@ -420,8 +421,9 @@ @example sngl = single (rand (2, 2)) - @result{} sngl = 0.37569 0.92982 - 0.11962 0.50876 + @result{} sngl = + 0.37569 0.92982 + 0.11962 0.50876 class (sngl) @result{} single @end example