public static boolean equals(final double a, final double b) {
    return Double.doubleToLongBits(a) == Double.doubleToLongBits(b);
  }
Checks if {@code a} is equal to {@code b}.

@param a a double
@param b a double
@return {@code true} if {@code a} is equal to {@code b}, otherwise {@code false}
@since 4.0.0
api/src/main/java/net/kyori/adventure/util/ShadyPines.java