[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51888] scanf / fscanf / sscanf should be able
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51888] scanf / fscanf / sscanf should be able to return int64 / unit64 values |
Date: |
Tue, 29 Aug 2017 14:16:59 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.gnu.org/bugs/?51888>
Summary: scanf / fscanf / sscanf should be able to return
int64 / unit64 values
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Tue 29 Aug 2017 11:16:58 AM PDT
Category: Octave Function
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
According to Matlab's docs for fscanf and sscanf, if the format string
conversions are all signed 64-bit integer conversions ("%ld" or "%li"), then
the return value should be a int64-valued array. If the format string is
entirely unsigned 64-bit conversions ("%lo", "%lu", or "%lx"), then the return
value should be a uint64-valued array.
This was discussed and confirmed in bug #47741, but a new bug was never filed
for this remaining outstanding compatibility issue.
We might want to extend this to also cover the Octave scanf extension using
the "C" option, which uses a different code base for its conversions.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51888>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #51888] scanf / fscanf / sscanf should be able to return int64 / unit64 values,
Mike Miller <=