|
From: | Tatsuro MATSUOKA |
Subject: | [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers |
Date: | Thu, 14 Apr 2016 00:55:13 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?47690> Summary: Octave 64-bit for Windows can't parse long hex integers Project: GNU Octave Submitted by: tmacchant Submitted on: 2016年04月14日 00時55分12秒 Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Tatsuro MATSUOA Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.0.1 Operating System: Microsoft Windows _______________________________________________________ Details: Francesco Potortì reported on the Octave help list: http://octave.1599824.n4.nabble.com/Octave-64-bit-for-Windows-can-t-parse-long-hex-integers-td4676253.html Here I have copied and pasted from Francesco Potortì's post On Debian: >> printf("%x\n", 123456789000) 1cbe991a08 >> format long; 0x1cbe991a08 ans = 123456789000 On Windows: >> printf("%x\n", 123456789000) 1cbe991a08 >> format long; 0x1cbe991a08 ans = 4294967295 In practice, when parsing a hex literal bigger than 2^32-1, octave reads it as 0xffffffff. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47690> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |