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

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

[Octave-bug-tracker] [bug #41672] fread for "float" not matlab compatibl


From: Rik
Subject: [Octave-bug-tracker] [bug #41672] fread for "float" not matlab compatible
Date: Sat, 22 Feb 2014 21:58:21 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41672>

                 Summary: fread for "float" not matlab compatible
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Sat 22 Feb 2014 01:58:20 PM PST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

This may just be a documentation issue.  According to Matlab's documentation
for fread (http://www.mathworks.com/help/matlab/ref/fread.html), the 'float'
type should always be 32 bits.  Octave's documentation states that the 'float'
type is platform dependent.  In fact this difference occurs for all the types
which are not strictly defined by a standard (so short, long, etc.).

I don't if Octave is actually doing what it is saying it does, or whether it
too just assumes float is 32 bits always.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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