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: Thu, 21 Apr 2016 19:40:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

I went with the closest test I could think of that is still accurate and still
somewhat simple to write.

I wanted to keep the value to 64 bits, but we know it evaluates to a double
value, so that test should be accurate within the known constraints of the
Octave interpreter.

Maybe 0xFFFF_FFFF_FFFF_0000 would be a more accurate test?


assert (0xFFFF_FFFF_FFFF_0000, 2^64 - 2^16 + 1)


    _______________________________________________________

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]