Mercurial > hg > octave-nkf
comparison scripts/general/bitset.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | a1dbe9d80eee |
children | 16f53d29049f |
comparison
equal
deleted
inserted
replaced
9044:656ad518f385 | 9051:1bf0ce0930be |
---|---|
22 ## Set or reset bit(s) @var{n} of unsigned integers in @var{a}. | 22 ## Set or reset bit(s) @var{n} of unsigned integers in @var{a}. |
23 ## @var{v} = 0 resets and @var{v} = 1 sets the bits. | 23 ## @var{v} = 0 resets and @var{v} = 1 sets the bits. |
24 ## The lowest significant bit is: @var{n} = 1 | 24 ## The lowest significant bit is: @var{n} = 1 |
25 ## | 25 ## |
26 ## @example | 26 ## @example |
27 ## @group | |
27 ## dec2bin (bitset (10, 1)) | 28 ## dec2bin (bitset (10, 1)) |
28 ## @result{} 1011 | 29 ## @result{} 1011 |
30 ## @end group | |
29 ## @end example | 31 ## @end example |
30 ## @seealso{bitand, bitor, bitxor, bitget, bitcmp, bitshift, bitmax} | 32 ## @seealso{bitand, bitor, bitxor, bitget, bitcmp, bitshift, bitmax} |
31 ## @end deftypefn | 33 ## @end deftypefn |
32 | 34 |
33 ## Liberally based of the version by Kai Habel from octave-forge | 35 ## Liberally based of the version by Kai Habel from octave-forge |