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

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

[Octave-bug-tracker] [bug #54342] rand() produces different results on o


From: Rik
Subject: [Octave-bug-tracker] [bug #54342] rand() produces different results on octave 4.4.0 compared to earlier versions
Date: Wed, 8 Jan 2020 11:02:45 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #21, bug #54342 (project octave):

This is probably worth a longer discussion on the Octave Maintainer's list. 
It is not just the floor/round difference with Matlab.  The way Octave
calculates the seed, given an input like 42, is also different.  There is
another bug report about that somewhere.  And I fixed a large bug in the
random number generator when creating numbers of class "single", but this has
the ability to throw off the "double" random number generator so that it
doesn't create the same numbers as in previous versions of Octave.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54342>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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