changeset 20469:859423f351a3

maint: Periodic merge of stable to default.
author Rik <rik@octave.org>
date Sun, 09 Aug 2015 20:35:44 -0700
parents a76e20f2f156 (current diff) 8fcbb55745ef (diff)
children 82712ed1be68
files libinterp/corefcn/file-io.cc libinterp/octave-value/ov-fcn-handle.cc
diffstat 4 files changed, 16 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/bitfcns.cc	Sun Aug 09 18:08:01 2015 -0700
+++ b/libinterp/corefcn/bitfcns.cc	Sun Aug 09 20:35:44 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/libinterp/corefcn/file-io.cc	Sun Aug 09 18:08:01 2015 -0700
+++ b/libinterp/corefcn/file-io.cc	Sun Aug 09 20:35:44 2015 -0700
@@ -668,19 +668,19 @@
 The parameter @var{arch} is a string specifying the default data format\n\
 for the file.  Valid values for @var{arch} are:\n\
 \n\
-@table @samp\n\
-@item native (default)\n\
+@table @asis\n\
+@item @qcode{\"native\"} or @qcode{\"n\"} (default)\n\
 The format of the current machine.\n\
 \n\
-@item ieee-be\n\
+@item @qcode{\"ieee-be\"} or @qcode{\"b\"}\n\
 IEEE big endian format.\n\
 \n\
-@item ieee-le\n\
+@item @qcode{\"ieee-le\"} or @qcode{\"l\"}\n\
 IEEE little endian format.\n\
 @end table\n\
 \n\
 @noindent\n\
-however, conversions are currently only supported for @samp{native}\n\
+However, conversions are currently only supported for @samp{native},\n\
 @samp{ieee-be}, and @samp{ieee-le} formats.\n\
 \n\
 When opening a new file that does not yet exist, permissions will be set to\n\
@@ -1598,13 +1598,13 @@
 for the file.  Valid values are\n\
 \n\
 @table @asis\n\
-@item @qcode{\"native\"}\n\
+@item @qcode{\"native\"} or @qcode{\"n\"}\n\
 The format of the current machine.\n\
 \n\
-@item @qcode{\"ieee-be\"}\n\
+@item @qcode{\"ieee-be\"} or @qcode{\"b\"}\n\
 IEEE big endian.\n\
 \n\
-@item @qcode{\"ieee-le\"}\n\
+@item @qcode{\"ieee-le\"} or @qcode{\"l\"}\n\
 IEEE little endian.\n\
 @end table\n\
 \n\
--- a/libinterp/octave-value/ov-fcn-handle.cc	Sun Aug 09 18:08:01 2015 -0700
+++ b/libinterp/octave-value/ov-fcn-handle.cc	Sun Aug 09 20:35:44 2015 -0700
@@ -1854,6 +1854,10 @@
 \n\
 If the optional @qcode{\"global\"} argument is passed, locally visible\n\
 functions are ignored in the lookup.\n\
+\n\
+Note: @code{str2func} does not currently accept strings which define\n\
+anonymous functions (those which begin with @samp{a}).\n\
+Use @code{eval (@var{str})} as a replacement.\n\
 @seealso{func2str, inline}\n\
 @end deftypefn")
 {
--- a/scripts/statistics/distributions/unidpdf.m	Sun Aug 09 18:08:01 2015 -0700
+++ b/scripts/statistics/distributions/unidpdf.m	Sun Aug 09 20:35:44 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)