Returns a random boolean.
()
| 88 | /// Returns a random boolean. |
| 89 | /// </summary> |
| 90 | public unsafe bool GetBool() |
| 91 | { |
| 92 | MutateSeed(); |
| 93 | fixed (int* seedPtr = &_seed) |
| 94 | return *seedPtr < (uint.MaxValue / 2); |
| 95 | } |
| 96 | |
| 97 | /// <summary> |
| 98 | /// Returns a random number between 0 and uint.MaxValue. |
no outgoing calls
no test coverage detected