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

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

[Octave-bug-tracker] [bug #50743] dlmread producing incorrect results fo


From: Rik
Subject: [Octave-bug-tracker] [bug #50743] dlmread producing incorrect results for large (64bit) integers
Date: Fri, 7 Apr 2017 13:03:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #50743 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

Can the reporter, or anyone, try the the sample code in Matlab?  My
understanding is that dlmread always read into a double matrix and for
compatibility Octave needs to do the same.

There could still be an issue, however, with extremely large integer
constants.  This should work, but appears to get a differently wrong answer.


fid = fopen ('/tmp/1.csv')
ctave:5> c = textscan (fid, '%u64') 
c =
{
  [1,1] = 5973459727478853632
}




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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