Mercurial > hg > octave-nkf
changeset 15542:69f45f3ab96a stable
Correct big-endian/little-endian reversal in typecast documentation.
* typecast.cc(Ftypecast): Correct big-endian/little-endian reversal in typecast
documentation.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 19 Oct 2012 08:11:39 -0700 |
parents | d23eed1c5d5d |
children | 57dd92260f09 |
files | src/DLD-FUNCTIONS/typecast.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/typecast.cc +++ b/src/DLD-FUNCTIONS/typecast.cc @@ -130,7 +130,7 @@ @group\n\ @var{x} = uint16 ([1, 65535]);\n\ typecast (@var{x}, 'uint8')\n\ -@result{} [ 0, 1, 255, 255]\n\ +@result{} [ 1, 0, 255, 255]\n\ @end group\n\ @end example\n\ @seealso{cast, bitunpack, bitpack, swapbytes}\n\