# HG changeset patch # User Rik # Date 1438796906 25200 # Node ID 6947b9c82d4b8db41680210d4d878b63af346d35 # Parent 5b7d7051a032cc6fabb7de4077cea1a3a12fed3d 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'. diff -r 5b7d7051a032 -r 6947b9c82d4b libinterp/corefcn/bitfcns.cc --- 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") { diff -r 5b7d7051a032 -r 6947b9c82d4b scripts/statistics/distributions/unidpdf.m --- 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)