[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54342] rand() produces different results on o
[Octave-bug-tracker] [bug #54342] rand() produces different results on octave 4.4.0 compared to earlier versions
Wed, 8 Jan 2020 11:02:45 -0500 (EST)
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:
Message sent via Savannah