Skip to content
Snippets Groups Projects
Commit c77f8329 authored by Seilenthal's avatar Seilenthal
Browse files

Without Pow

parent 6f19f412
No related branches found
No related tags found
Loading
......@@ -9,7 +9,7 @@ namespace PseudoRandomGenerator
{
private long a = 1664525; // Multiplier
private long c = 1013904223; // Increment
private long m = (long)Math.Pow(2, 32); // Modulus (2^32 for a large cycle)
private long m = 4294967296L; // Modulus (2^32 for a large cycle)
private long seed; // Current state (initialized by seed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment