Browse Source

Fix RANDOM_MAX, which is 2^32-1 with PCG32.

Leandro Motta Barros 8 years ago
parent
commit
0e5863c86a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/math/math_funcs.h

+ 1 - 1
core/math/math_funcs.h

@@ -50,7 +50,7 @@ public:
 	Math() {} // useless to instance
 
 	enum {
-		RANDOM_MAX=2147483647L
+		RANDOM_MAX=4294967295L
 	};