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

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

[Octave-bug-tracker] [bug #53293] uint64 are truncated


From: David Bateman
Subject: [Octave-bug-tracker] [bug #53293] uint64 are truncated
Date: Tue, 6 Mar 2018 08:36:31 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #53293 (project octave):

The NEWS file for Octave 4.4 contains the text



 ** hex2num and num2hex now work for integer and char types and num2hex
    may optionally return a cell array of strings instead of a character
    array.  If given a cell array of strings, hex2num now returns a
    numeric array of the same size as the input cell array.  Previously,
    hex2num would accept a cell array of strings of arbitrary dimension
    but would always return a column vector.


So this is already implemented. Till then you can use something like


uint64(0xFFFFFFFF) * 2^32 + uint64(0xFFFFFFFF)


to get large uint64 vales

D.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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