[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45945] Missing Matlab's special support for i
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #45945] Missing Matlab's special support for integer literals |
Date: |
Fri, 15 Apr 2016 15:27:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #8, bug #45945 (project octave):
Just a quick note, I don't think using "%lx" is universally safe for reading
values of type uintmax_t (e.g. it should be "%llx" on 32-bit architectures).
According to POSIX, the "j" prefix should work for integers of type intmax_t
or uintmax_t, for example:
nread = sscanf (tmptxt, "%jx", &li);
It would also be nice if this variable were named "long_int_value" or
something readable than "li".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45945>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/