Skip to content

Commit

Permalink
Release 3.0.0-b9
Browse files Browse the repository at this point in the history
3.0.0-b9 is mostly just being released since there hasn't been a Maven
Central release since January, and there's been a lot of nice things
added.

This commit also includes an improvement to Light32RNG that doubles its
period to the previously-claimed 2 to the 63.
  • Loading branch information
tommyettinger committed Sep 22, 2017
1 parent 42b72c6 commit 6c329b3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -5,7 +5,7 @@

<groupId>com.squidpony</groupId>
<artifactId>squidlib-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
<packaging>pom</packaging>

<name>squidlib-parent</name>
Expand Down
4 changes: 2 additions & 2 deletions squidlib-extra/pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>squidlib-parent</artifactId>
<groupId>com.squidpony</groupId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -28,7 +28,7 @@
<dependency>
<groupId>com.squidpony</groupId>
<artifactId>squidlib-util</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
Expand Down
6 changes: 3 additions & 3 deletions squidlib-performance/pom.xml
Expand Up @@ -33,11 +33,11 @@ THE POSSIBILITY OF SUCH DAMAGE.
<parent>
<artifactId>squidlib-parent</artifactId>
<groupId>com.squidpony</groupId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
</parent>

<artifactId>squidlib-performance</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
<packaging>jar</packaging>

<name>squidlib-performance</name>
Expand Down Expand Up @@ -74,7 +74,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
<dependency>
<groupId>com.squidpony</groupId>
<artifactId>squidlib</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
</dependency>
<dependency>
<groupId>com.badlogicgames.gdx</groupId>
Expand Down
2 changes: 1 addition & 1 deletion squidlib-util/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.squidpony</groupId>
<artifactId>squidlib-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
<relativePath>../</relativePath>
</parent>
<artifactId>squidlib-util</artifactId>
Expand Down
10 changes: 5 additions & 5 deletions squidlib-util/src/main/java/squidpony/squidmath/Light32RNG.java
Expand Up @@ -62,7 +62,7 @@ public Light32RNG(long stateCombined)
}

public final int nextInt() {
int z = (state += (state == 0) ? (inc += 0x632BE5AC) : inc);
int z = (state += (state == 0) ? (inc += 0x632BE5A6) : inc);
z = (z ^ (z >>> 16)) * 0x85EBCA6B;
z = (z ^ (z >>> 13)) * 0xC2B2AE35;
return z ^ (z >>> 16);
Expand All @@ -77,7 +77,7 @@ public final int nextInt() {
*/
@Override
public final int next(int bits) {
int z = (state += (state == 0) ? (inc += 0x632BE5AC) : inc);
int z = (state += (state == 0) ? (inc += 0x632BE5A6) : inc);
z = (z ^ (z >>> 16)) * 0x85EBCA6B;
z = (z ^ (z >>> 13)) * 0xC2B2AE35;
return (z ^ (z >>> 16)) >>> (32 - bits);
Expand All @@ -93,11 +93,11 @@ public final int next(int bits) {
*/
@Override
public final long nextLong() {
int y = (state += (state == 0) ? (inc += 0x632BE5AC) : inc),
z = (state += (state == 0) ? (inc += 0x632BE5AC) : inc);
int y = (state += (state == 0) ? (inc += 0x632BE5A6) : inc),
z = (state += (state == 0) ? (inc += 0x632BE5A6) : inc);
y = (y ^ (y >>> 16)) * 0x85EBCA6B;
y = (y ^ (y >>> 13)) * 0xC2B2AE35;
z = (z ^ (z >>> 16)) * 0x85EBCA6B;
y = (y ^ (y >>> 13)) * 0xC2B2AE35;
z = (z ^ (z >>> 13)) * 0xC2B2AE35;
return (long)(y ^ (y >>> 16)) << 32 ^ (z ^ (z >>> 16));
}
Expand Down
4 changes: 2 additions & 2 deletions squidlib/pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.squidpony</groupId>
<artifactId>squidlib-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
<relativePath>../</relativePath>
</parent>
<artifactId>squidlib</artifactId>
Expand Down Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>com.squidpony</groupId>
<artifactId>squidlib-util</artifactId>
<version>3.0.0-SNAPSHOT</version>
<version>3.0.0-b9</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 6c329b3

Please sign in to comment.