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

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

[Octave-bug-tracker] [bug #54414] Not recognizing that indices greater t


From: Rik
Subject: [Octave-bug-tracker] [bug #54414] Not recognizing that indices greater than (roughly) 2^63 or 20 digits are too large
Date: Mon, 21 Sep 2020 19:38:13 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36

Follow-up Comment #9, bug #54414 (project octave):

Unfortunately not.  I fixed the original problem, but Dan is correct that
there are duplicate code paths and not everywhere do we get this right.

This example still produces an empty matrix


 fn = "ramp10by11.dat";
 fid = fopen(fn, "w+");
 fwrite (fid, ones(10,1)*[1:11], "single");
 frewind (fid);
 x = fread (fid, [9223372036854775807, 9223372036854775807], 'single');



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54414>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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