help-octave
[Top][All Lists]
Advanced

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

Re: Octave 64-it for Windows can't parse long hex integers


From: address@hidden
Subject: Re: Octave 64-it for Windows can't parse long hex integers
Date: Thu, 14 Apr 2016 06:09:33 +0900 (JST)

--- Potorti
> On Octave 4.0.1 64-bit compiled for Windows, downloaded today from
> <http://www.tatsuromatsuoka.com/octave/Eng/Win/>, there seems to be a
> bug when Octave parses long hex literals.  This is what I observe, is
> this really a bug or am I missing something?
> 
> 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.
> 
> 

Thank you for the report.

If what you  observe is unknown, it should be resistered to the octave bug 
tracker?

Does someone know about the above?

Tatsuro




reply via email to

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