Hacker News new | past | comments | ask | show | jobs | submit login

I cannot read the original post, as it is deleted, but I may agree with it. Most random number generator are 100% deterministic. Yet, if I take two on two systems, I cannot guarantee that both produce the same sequence. And no, seeding does not guarantee that, at least GNU does not think so: http://www.gnu.org/s/hello/manual/libc/ISO-Random.html states:

— Macro: int RAND_MAX The value of this macro is an integer constant representing the largest value the rand function can return. In the GNU library, it is 2147483647, which is the largest signed integer representable in 32 bits. In other libraries, it may be as low as 32767.

Barring bugs (a problem that the writer does not touch) floating point arithmetic should be deterministic. Problem is that different machine may determine to produce different results, given the same inputs.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: