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

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

[Octave-patch-tracker] [patch #7817] strread.m: bit width and %[] and %q


From: Philip Nienhuis
Subject: [Octave-patch-tracker] [patch #7817] strread.m: bit width and %[] and %q format conversion specifiers (bug #33875)
Date: Sat, 23 Aug 2014 19:57:33 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #2, patch #7817 (project octave):

Thanks for your interest and patch!

Lately I was thinking about wiping the dust of my patches and applying them
somehow. I was thinking more of the %[] and %q stuff as I need those a bit
more, but once there the bit width ones are fairly easy to apply
simultaneously.
I think the reason that the bit width specifiers weren't implemented yet is
that the required casts can be applied to strread's (or textscan's /
textread's) results afterward.

Anyway I think a bit more input (data) validation is required (think of
overflow, e.g. trying to read 70000 with an int8 specifier or a negative
number with a uint<x>). Plus, some more tests are needed. I might look into it
this fall.

I have some more patches for strread.m lying around (a.o., one for
multi-character delimiters); I'll see if I can combine (merge) them somehow.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7817>

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




reply via email to

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