Mercurial > octave-nkf
comparison libinterp/corefcn/data.cc @ 20521:4bb41929286b
Deprecate bitmax.
* NEWS: Announce deprecation and replacement functions.
* scripts/deprecated/bitmax.m: New function. Add deprecation message to
docstring. Add deprecation warning to m-file.
* scripts/deprecated/module.mk: Add deprecated versions to build system.
* libinterp/corefcn/bitfcns.cc: Remove build-in function. Remove function
from docstrings.
* libinterp/corefcn/data.cc: Remove function from docstrings.
* scripts/general/bitcmp.m: Replace bitmax function calls with flintmax.
Remove function from docstrings.
* scripts/general/bitget.m: Replace bitmax function calls with flintmax.
Remove function from docstrings.
* scripts/general/bitset.m: Replace bitmax function calls with flintmax.
Remove function from docstrings.
* scripts/specfun/factor.m: Replace bitmax function calls with flintmax.
Remove function from docstrings.
* scripts/statistics/distributions/unidpdf.m: Remove function from docstrings.
* scripts/general/num2str.m: Replaced function in comment.
* doc/interpreter/doccheck/aspell-octave.en.pws: Remove functions from list.
* doc/interpreter/numbers.txi: Remove function from manual.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Wed, 09 Sep 2015 18:43:52 +0200 |
parents | 16b9ec39ff46 |
children | dd6345fd8a97 |
comparison
equal
deleted
inserted
replaced
20520:f515bac7c7c1 | 20521:4bb41929286b |
---|---|
4717 \n\ | 4717 \n\ |
4718 When called with more than one argument the first two arguments are taken as\n\ | 4718 When called with more than one argument the first two arguments are taken as\n\ |
4719 the number of rows and columns and any further arguments specify additional\n\ | 4719 the number of rows and columns and any further arguments specify additional\n\ |
4720 matrix dimensions. The optional argument @var{class} specifies the return\n\ | 4720 matrix dimensions. The optional argument @var{class} specifies the return\n\ |
4721 type and may be either @qcode{\"double\"} or @qcode{\"single\"}.\n\ | 4721 type and may be either @qcode{\"double\"} or @qcode{\"single\"}.\n\ |
4722 @seealso{realmax, realmin, intmax, bitmax}\n\ | 4722 @seealso{realmax, realmin, intmax, flintmax}\n\ |
4723 @end deftypefn") | 4723 @end deftypefn") |
4724 { | 4724 { |
4725 int nargin = args.length (); | 4725 int nargin = args.length (); |
4726 octave_value retval; | 4726 octave_value retval; |
4727 | 4727 |
4890 taken as the number of rows and columns and any further arguments specify\n\ | 4890 taken as the number of rows and columns and any further arguments specify\n\ |
4891 additional matrix dimensions.\n\ | 4891 additional matrix dimensions.\n\ |
4892 \n\ | 4892 \n\ |
4893 The optional argument @var{class} specifies the return type and may be\n\ | 4893 The optional argument @var{class} specifies the return type and may be\n\ |
4894 either @qcode{\"double\"} or @qcode{\"single\"}.\n\ | 4894 either @qcode{\"double\"} or @qcode{\"single\"}.\n\ |
4895 @seealso{realmin, intmax, bitmax, eps}\n\ | 4895 @seealso{realmin, intmax, flintmax, eps}\n\ |
4896 @end deftypefn") | 4896 @end deftypefn") |
4897 { | 4897 { |
4898 return fill_matrix (args, std::numeric_limits<double>::max (), | 4898 return fill_matrix (args, std::numeric_limits<double>::max (), |
4899 std::numeric_limits<float>::max (), "realmax"); | 4899 std::numeric_limits<float>::max (), "realmax"); |
4900 } | 4900 } |