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

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

[Octave-bug-tracker] [bug #50256] Wrong data type for rand ('twister')


From: Rik
Subject: [Octave-bug-tracker] [bug #50256] Wrong data type for rand ('twister')
Date: Wed, 8 Feb 2017 19:36:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #50256 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

Does Matlab return uint32?


class (rand ('twister'))


And if it does, the simplest thing would be to cast the double values used
internally in C++ to uint32_t at the time a value is returned from rand.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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