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

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

[Octave-bug-tracker] [bug #61358] dlmread fails to read NA values on arm


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #61358] dlmread fails to read NA values on arm64
Date: Fri, 12 Nov 2021 01:54:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Follow-up Comment #17, bug #61358 (project octave):

Reading/writing binary NA seems to work:


octave:1> fid = fopen ("foo.dat", "wb");
octave:2> fwrite (fid, [1, -1] * NA, "double");
octave:3> fclose (fid);
octave:4> fid = fopen ("foo.dat", "rb")
fid = 9
octave:5> x = fread (fid, "double");
octave:6> x
x =

    NA
    NA

octave:7> 


The sign got lost but that seems to be a known feature
https://savannah.gnu.org/bugs/?40668

Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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