public static boolean equals(final float a, final float b) {
    return Float.floatToIntBits(a) == Float.floatToIntBits(b);
  }
Checks if {@code a} is equal to {@code b}.

@param a a float
@param b a float
@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