octave-bug-tracker
[Top][All Lists]
Advanced

[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: Mike Miller
Subject: [Octave-bug-tracker] [bug #47690] Octave 64-bit for Windows can't parse long hex integers
Date: Tue, 19 Apr 2016 19:48:11 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #6, bug #47690 (project octave):

This patch looks good for the most part, I tweaked a couple minor style
things, and used uintmax_t for the cast in the binary number case. I've tested
on Debian with a 32-bit build and it does correct the hex input case that is
also seen on Windows.

But one big thing that this patch changes is the handling of integer values
that are larger than 2^64. Previous to this patch,


>> x = 100000000000000000000
x =    1.00000000000000e+20


Now with this patch applied it limits integer inputs to 2^64.

I think this patch should not affect decimal number input based on this, but
I'm not sure.

What does Matlab do with


x = 100000000000000000000
class(x)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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