You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 575 moved from a Google Code project.
Added by 2011-08-05T07:31:16.000Z by rob.till...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Uh oh!
There was an error while loading. Please reload this page.
This is Issue 575 moved from a Google Code project.
Added by 2011-08-05T07:31:16.000Z by rob.till...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
Original description
OBSERVATION
Wmath.cpp
/Wprogram.h
have definedrandomSeed
aswhile the avrlib defines -
void srandom (unsigned long __seed);
This means loss of 2^32 -2^16 possible seeds to randomize.
PROPOSAL
If you accept 0 as a valid seed you can rewrite it to:
otherwise
See - https://forum.arduino.cc/t/the-reliable-but-not-very-sexy-way-to-seed-random/65872/38
// using windows 7/64 IDE 22
The text was updated successfully, but these errors were encountered: