[erlang-questions] random:seed in R14, R15, ...

Uwe Dauernheim <>
Thu Jul 19 08:23:37 CEST 2012

When writing test cases that exercise e.g. random:uniform/0 one wants to use random:seed/1 with a fixed seed for deterministic test results, but providing the seed function with a fixed value seems to result in a different sequence for R14 and R15 (maybe for older or upcoming release as well). This is a problem when distributing your code and you are not sure which release will be used.

What is the common solution for this?

More information about the erlang-questions mailing list