comparison src/bitfcns.cc @ 10840:89f4d7e294cc

Grammarcheck .cc files
author Rik <octave@nomad.inbox5.com>
date Sat, 31 Jul 2010 11:18:11 -0700
parents b4ebfd675321
children 4176c5c62138
comparison
equal deleted inserted replaced
10839:65bc065bec95 10840:89f4d7e294cc
405 } \ 405 } \
406 while (0) 406 while (0)
407 407
408 DEFUN (bitshift, args, , 408 DEFUN (bitshift, args, ,
409 "-*- texinfo -*-\n\ 409 "-*- texinfo -*-\n\
410 @deftypefn {Built-in Function} {} bitshift (@var{a}, @var{k})\n\ 410 @deftypefn {Built-in Function} {} bitshift (@var{a}, @var{k})\n\
411 @deftypefnx {Built-in Function} {} bitshift (@var{a}, @var{k}, @var{n})\n\ 411 @deftypefnx {Built-in Function} {} bitshift (@var{a}, @var{k}, @var{n})\n\
412 Return a @var{k} bit shift of @var{n}-digit unsigned\n\ 412 Return a @var{k} bit shift of @var{n}-digit unsigned\n\
413 integers in @var{a}. A positive @var{k} leads to a left shift.\n\ 413 integers in @var{a}. A positive @var{k} leads to a left shift.\n\
414 A negative value to a right shift. If @var{n} is omitted it defaults\n\ 414 A negative value to a right shift. If @var{n} is omitted it defaults\n\
415 to log2(bitmax)+1.\n\ 415 to log2(bitmax)+1.\n\
534 The variable @var{type} can be\n\ 534 The variable @var{type} can be\n\
535 \n\ 535 \n\
536 @table @code\n\ 536 @table @code\n\
537 @item int8\n\ 537 @item int8\n\
538 signed 8-bit integer.\n\ 538 signed 8-bit integer.\n\
539 \n\
539 @item int16\n\ 540 @item int16\n\
540 signed 16-bit integer.\n\ 541 signed 16-bit integer.\n\
542 \n\
541 @item int32\n\ 543 @item int32\n\
542 signed 32-bit integer.\n\ 544 signed 32-bit integer.\n\
545 \n\
543 @item int64\n\ 546 @item int64\n\
544 signed 64-bit integer.\n\ 547 signed 64-bit integer.\n\
548 \n\
545 @item uint8\n\ 549 @item uint8\n\
546 unsigned 8-bit integer.\n\ 550 unsigned 8-bit integer.\n\
551 \n\
547 @item uint16\n\ 552 @item uint16\n\
548 unsigned 16-bit integer.\n\ 553 unsigned 16-bit integer.\n\
554 \n\
549 @item uint32\n\ 555 @item uint32\n\
550 unsigned 32-bit integer.\n\ 556 unsigned 32-bit integer.\n\
557 \n\
551 @item uint64\n\ 558 @item uint64\n\
552 unsigned 64-bit integer.\n\ 559 unsigned 64-bit integer.\n\
553 @end table\n\ 560 @end table\n\
554 \n\ 561 \n\
555 The default for @var{type} is @code{uint32}.\n\ 562 The default for @var{type} is @code{uint32}.\n\
597 The variable @var{type} can be\n\ 604 The variable @var{type} can be\n\
598 \n\ 605 \n\
599 @table @code\n\ 606 @table @code\n\
600 @item int8\n\ 607 @item int8\n\
601 signed 8-bit integer.\n\ 608 signed 8-bit integer.\n\
609 \n\
602 @item int16\n\ 610 @item int16\n\
603 signed 16-bit integer.\n\ 611 signed 16-bit integer.\n\
612 \n\
604 @item int32\n\ 613 @item int32\n\
605 signed 32-bit integer.\n\ 614 signed 32-bit integer.\n\
615 \n\
606 @item int64\n\ 616 @item int64\n\
607 signed 64-bit integer.\n\ 617 signed 64-bit integer.\n\
618 \n\
608 @item uint8\n\ 619 @item uint8\n\
609 unsigned 8-bit integer.\n\ 620 unsigned 8-bit integer.\n\
621 \n\
610 @item uint16\n\ 622 @item uint16\n\
611 unsigned 16-bit integer.\n\ 623 unsigned 16-bit integer.\n\
624 \n\
612 @item uint32\n\ 625 @item uint32\n\
613 unsigned 32-bit integer.\n\ 626 unsigned 32-bit integer.\n\
627 \n\
614 @item uint64\n\ 628 @item uint64\n\
615 unsigned 64-bit integer.\n\ 629 unsigned 64-bit integer.\n\
616 @end table\n\ 630 @end table\n\
617 \n\ 631 \n\
618 The default for @var{type} is @code{uint32}.\n\ 632 The default for @var{type} is @code{uint32}.\n\
656 DEFUN (sizemax, args, , 670 DEFUN (sizemax, args, ,
657 "-*- texinfo -*-\n\ 671 "-*- texinfo -*-\n\
658 @deftypefn {Built-in Function} {} sizemax ()\n\ 672 @deftypefn {Built-in Function} {} sizemax ()\n\
659 Return the largest value that is allowed as the size of an array.\n\ 673 Return the largest value that is allowed as the size of an array.\n\
660 If Octave is compiled with 64-bit indexing, the result is of class int64,\n\ 674 If Octave is compiled with 64-bit indexing, the result is of class int64,\n\
661 otherwise it is of class int32. It will be a tiny bit lower than the maximum\n\ 675 otherwise it is of class int32. It will be a tiny bit lower than the maximum\n\
662 allowable value for that type, as reported by intmax.\n\ 676 allowable value for that type, as reported by intmax.\n\
663 @seealso{intmax}\n\ 677 @seealso{intmax}\n\
664 @end deftypefn") 678 @end deftypefn")
665 { 679 {
666 octave_value retval; 680 octave_value retval;