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

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

[Octave-bug-tracker] [bug #54111] binary data read using "fread" doesn't


From: Michael Leitner
Subject: [Octave-bug-tracker] [bug #54111] binary data read using "fread" doesn't recognize any "PRECISION" arg in Windows 10
Date: Wed, 13 Jun 2018 10:10:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #1, bug #54111 (project octave):

This is not a bug, this is correct behaviour. The default return type of fread
indeed is double. What you are after is type conversion, or rather probably no
type conversion to the default double in your case, which you get by replacing
"int8" by "*int8".

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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