Am Samstag, 13. Dezember 2014, 13:05:00 schrieben Sie:
> On Thu, Dec 11, 2014 at 14:41:36 -0500, David Cole via cmake-developers 
wrote:
> > Yes, setting an explicit seed should make subsequent calls to random
> > be deterministic...
> 
> Well, *we* want that, but I don't think that OpenBSD is making an
> *awful* decision here.
> 
> Even if you want deterministic, you're only deterministic on a single
> platform, so if you want to get a deterministicly random (such an odd
> phrase…) sequence, the best thing to do is to code up an Mersenne
> Twister or something and ignore the rand/srand functions.

Well, srand() and random() have ever been deterministic, and AFAIK using the 
same algorhtim and thus the same results on all supporting platforms, so it is 
the perfect choice for us. What is happening is that OpenBSD is fighting people 
that don't get that this is deterministic.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to