Mercurial > octave-nkf
comparison src/bitfcns.cc @ 9209:923c7cb7f13f
Simplify TeXinfo files by eliminating redundant @iftex followed by @tex construction.
spellchecked all .txi and .texi files.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 17 May 2009 12:18:06 -0700 |
parents | 7c02ec148a3c |
children | 357cff83985d |
comparison
equal
deleted
inserted
replaced
9208:cb163402bf79 | 9209:923c7cb7f13f |
---|---|
262 return retval | 262 return retval |
263 | 263 |
264 DEFUN (bitand, args, , | 264 DEFUN (bitand, args, , |
265 "-*- texinfo -*-\n\ | 265 "-*- texinfo -*-\n\ |
266 @deftypefn {Built-in Function} {} bitand (@var{x}, @var{y})\n\ | 266 @deftypefn {Built-in Function} {} bitand (@var{x}, @var{y})\n\ |
267 Return the bitwise AND of nonnegative integers.\n\ | 267 Return the bitwise AND of non-negative integers.\n\ |
268 @var{x}, @var{y} must be in the range [0,bitmax]\n\ | 268 @var{x}, @var{y} must be in the range [0,bitmax]\n\ |
269 @seealso{bitor, bitxor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ | 269 @seealso{bitor, bitxor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ |
270 @end deftypefn") | 270 @end deftypefn") |
271 { | 271 { |
272 BITOP (&, "bitand"); | 272 BITOP (&, "bitand"); |
273 } | 273 } |
274 | 274 |
275 DEFUN (bitor, args, , | 275 DEFUN (bitor, args, , |
276 "-*- texinfo -*-\n\ | 276 "-*- texinfo -*-\n\ |
277 @deftypefn {Built-in Function} {} bitor (@var{x}, @var{y})\n\ | 277 @deftypefn {Built-in Function} {} bitor (@var{x}, @var{y})\n\ |
278 Return the bitwise OR of nonnegative integers.\n\ | 278 Return the bitwise OR of non-negative integers.\n\ |
279 @var{x}, @var{y} must be in the range [0,bitmax]\n\ | 279 @var{x}, @var{y} must be in the range [0,bitmax]\n\ |
280 @seealso{bitor, bitxor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ | 280 @seealso{bitor, bitxor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ |
281 @end deftypefn") | 281 @end deftypefn") |
282 { | 282 { |
283 BITOP (|, "bitor"); | 283 BITOP (|, "bitor"); |
284 } | 284 } |
285 | 285 |
286 DEFUN (bitxor, args, , | 286 DEFUN (bitxor, args, , |
287 "-*- texinfo -*-\n\ | 287 "-*- texinfo -*-\n\ |
288 @deftypefn {Built-in Function} {} bitxor (@var{x}, @var{y})\n\ | 288 @deftypefn {Built-in Function} {} bitxor (@var{x}, @var{y})\n\ |
289 Return the bitwise XOR of nonnegative integers.\n\ | 289 Return the bitwise XOR of non-negative integers.\n\ |
290 @var{x}, @var{y} must be in the range [0,bitmax]\n\ | 290 @var{x}, @var{y} must be in the range [0,bitmax]\n\ |
291 @seealso{bitand, bitor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ | 291 @seealso{bitand, bitor, bitset, bitget, bitcmp, bitshift, bitmax}\n\ |
292 @end deftypefn") | 292 @end deftypefn") |
293 { | 293 { |
294 BITOP (^, "bitxor"); | 294 BITOP (^, "bitxor"); |