If I use the random number generator function in different programming languages, and I selected the same seed. Should they give me the same random numbers?
for example, I used Java and Perl ... gave different numbers.
Not if both languages ββdo not use the same algorithm.
Portability between languages ββis one of the reasons for using your own random number generator. This article provides a very small random number generator, the algorithm of which is tested by experts. You can easily transfer the generator to any language that supports basic operations with 32-bit unsigned integers. Each implementation should return the same sequence of outputs with the same seeds.
Source: https://habr.com/ru/post/1215955/More articles:splitting data into test and train, creating a logistic regression model in pandas - pythonVanilla alternative to jQuery $ .data () function: any native javascript alternative? - javascriptPython is equivalent to R caTools random 'sample.split' - splitSQL Workbench error while connecting to Redshift - postgresqlParallelize this nested for loop in python - pythonjQuery.load () equivalent of AngularJS - jqueryParallelize a nested loop in python to find the maximum value - pythonSet gulp tasks based on NODE_ENV - javascriptAmbari Name Node Startup Does not work when safe mode is enabled. - hadoopConverting between std :: tuple and boost :: tuple - c ++All Articles