Package net.paulem.arcana.math
package net.paulem.arcana.math
-
ClassesClassDescriptionA precomputed lookup table for
Math.acos(double), used to approximate the arc cosine faster than callingMath.acosdirectly.An RNG class that's faster and hopefully better than java.util.Random.Utility class for generating random values usingFastRandom.
This class provides methods for generating random booleans, bytes, integers, longs, doubles, and floats with optional range constraints and probability checks.
BecauseFastRandomis not thread-safe, this class keeps oneFastRandominstance per thread in aThreadLocal, so all static methods here can safely be called concurrently from multiple threads.