float32 single etc

david at materialintelligencellc.com david at materialintelligencellc.com
Tue May 5 16:54:23 CDT 2009


To whom it concerns,

 

I'm sure this is known but not well documented.  I'm looking for some
feedback on this issue more so than a fix, although it should be fixed.

 

It is known that the function single(), which converts a value to single
precision floating point will return a double precision due to the fact that
"Octave does not yet have a single-precision numeric data type".  

 

Are functions like fread(fid, size, precision) affected by this statement?
In other words if I open a files with a string of 1000 single precision
floating point and read them one at a time (or in blocks as an array) using
fread(fid,[a,b],'float') will it read 32 bits at a time or 64?  Same
question for 'float32' or 'single'.

 

Thanks,
David

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/bug-octave/attachments/20090505/147dd2bf/attachment.html 


More information about the Bug-octave mailing list