changeset 23949:58435a400d4e

Document that fread 'float' size is 32 bits (bug #41672). * file-io.cc (Ffread): Remove line stating 'float' is system-dependent and put 'float' in the table entry for 'single' which says the result is 32 bits.
author Rik <rik@octave.org>
date Sat, 26 Aug 2017 14:40:00 -0700
parents 9c97909a6c94
children 2aa0de22f98a
files libinterp/corefcn/file-io.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/file-io.cc	Sat Aug 26 13:51:53 2017 +0200
+++ b/libinterp/corefcn/file-io.cc	Sat Aug 26 14:40:00 2017 -0700
@@ -2368,6 +2368,7 @@
 64-bit unsigned integer.
 
 @item  @qcode{"single"}
+@itemx @qcode{"float"}
 @itemx @qcode{"float32"}
 @itemx @qcode{"real*4"}
 32-bit floating point number.
@@ -2402,8 +2403,6 @@
 @itemx @qcode{"unsigned long"}
 Unsigned long integer (size is platform dependent).
 
-@item @qcode{"float"}
-Single precision floating point number (size is platform dependent).
 @end table
 
 @noindent