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

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

[Octave-bug-tracker] [bug #53438] tests: rand.cc: known fixed state test


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53438] tests: rand.cc: known fixed state tests of randn and randg generators inaccurate on i686
Date: Fri, 23 Mar 2018 22:03:03 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #8, bug #53438 (project octave):

For future reference, this can be reproduced on x86_64 easily by building
Octave with "-mfpmath=387" added to CFLAGS and CXXFLAGS as mentioned in
comment #2.

The generators that are affected are randn and randg. The values produced by
randg are derived from randn values, and both involve floating point
multiplications. With a given fixed state, a user should get the same exact
_uniform_ random number sequence on any system, and those tests do pass.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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