I come to cross rand() in C and found srand() could only guarantee the reproducibility of the same machine but not the different platform.
As I already used my srand(926) and completed a quite time-consuming simulation, I like to find the definition of rand(). So that, I can get the same result on the different platforms as well.
Could someone point me in a direction to find the definition of srand() in GCC 9.3.0?
Thanks