Mercurial > octave-nkf
changeset 20460:6947b9c82d4b stable
doc: Change docstrings to use 'IEEE 754' rather than 'IEEE-754'.
* bitfcns.cc (Fbitmax): Use 'IEEE 754'.
* bitfcns.cc (Fflintmax): Use 'IEEE 754'. Enclose exponent in @math expression
in braces so that entire exponent is superscripted.
* unidpdf.m: Use 'IEEE 754'.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 05 Aug 2015 10:48:26 -0700 |
parents | 5b7d7051a032 |
children | f02c22f71cdb |
files | libinterp/corefcn/bitfcns.cc scripts/statistics/distributions/unidpdf.m |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/bitfcns.cc Tue Jul 28 08:47:27 2015 -0700 +++ b/libinterp/corefcn/bitfcns.cc Wed Aug 05 10:48:26 2015 -0700 @@ -687,7 +687,7 @@ value.\n\ \n\ The default class is @qcode{\"double\"}, but @qcode{\"single\"} is a\n\ -valid option. On IEEE-754 compatible systems, @code{bitmax} is\n\ +valid option. On IEEE 754 compatible systems, @code{bitmax} is\n\ @w{@math{2^{53} - 1}} for @qcode{\"double\"} and @w{@math{2^{24} -1}} for\n\ @qcode{\"single\"}.\n\ @seealso{flintmax, intmax, realmax, realmin}\n\ @@ -724,8 +724,8 @@ floating point value.\n\ \n\ The default class is @qcode{\"double\"}, but @qcode{\"single\"} is a valid\n\ -option. On IEEE-754 compatible systems, @code{flintmax} is @w{@math{2^53}}\n\ -for @qcode{\"double\"} and @w{@math{2^24}} for @qcode{\"single\"}.\n\ +option. On IEEE 754 compatible systems, @code{flintmax} is @w{@math{2^{53}}}\n\ +for @qcode{\"double\"} and @w{@math{2^{24}}} for @qcode{\"single\"}.\n\ @seealso{bitmax, intmax, realmax, realmin}\n\ @end deftypefn") {
--- a/scripts/statistics/distributions/unidpdf.m Tue Jul 28 08:47:27 2015 -0700 +++ b/scripts/statistics/distributions/unidpdf.m Wed Aug 05 10:48:26 2015 -0700 @@ -25,7 +25,7 @@ ## ## Warning: The underlying implementation uses the double class and will only ## be accurate for @var{n} @leq{} @code{bitmax} (@w{@math{2^{53} - 1}} on -## IEEE-754 compatible systems). +## IEEE 754 compatible systems). ## @end deftypefn function pdf = unidpdf (x, n)