[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers |
Date: |
Wed, 20 Apr 2016 09:04:04 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #7, bug #47690 (project octave):
Thank you, Mike, for your feedback.
I agree with you that the changed handling of large decimal integer input is
wrong. Since all input is cast to double anyway (in Octave and in Matlab), I
should have stripped off that part of the patch from the beginning.
The fact that integer input seems to not loose precission in Matlab when used
for some functions is the other bug #45945. The uintmax_t overflow has to be
handled there.
I did not find the patch with your changes so I'll attach a new one that does
not touch the parsing of decimal numbers and that uses uintmax_t for the
binary cast.
I will file a new bug for the related issue with the scanf family as you
suggested.
(file #36970)
_______________________________________________________
Additional Item Attachment:
File name: bug47690_v2.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47690>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Tatsuro MATSUOKA, 2016/04/13
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Francesco Potortì, 2016/04/14
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, John W. Eaton, 2016/04/14
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Markus Mützel, 2016/04/18
- Message not available
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Mike Miller, 2016/04/19
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Mike Miller, 2016/04/19
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers,
Markus Mützel <=
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Mike Miller, 2016/04/20
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Markus Mützel, 2016/04/21
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Mike Miller, 2016/04/21
- [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers, Markus Mützel, 2016/04/26