octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45687] fread does not support ARCH 'ieee-le'


From: Emmanuel Goua de Baix
Subject: [Octave-bug-tracker] [bug #45687] fread does not support ARCH 'ieee-le' for double on 64bits PC
Date: Tue, 04 Aug 2015 10:09:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Follow-up Comment #2, bug #45687 (project octave):

After some few additional tests, I found that the issue is the same with float
(single precision)

I specified my workaround solution ( compatible 32/64 bits Matlab/Octave *but
only on PC* (little endian))


a_double_le = swapbytes( double( fread(fid, 1, 'double', 0, 'ieee-be') ) );
a_float_le  = swapbytes( single( fread(fid, 1, 'float' , 0, 'ieee-be') ) );






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45687>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]