/** Asserts that the subject is {@link Float#NaN}. */ public final void isNaN() { super.isEqualTo(Float.NaN); }
/** Asserts that the subject is {@link Float#POSITIVE_INFINITY}. */ public final void isPositiveInfinity() { super.isEqualTo(Float.POSITIVE_INFINITY); }
/** Asserts that the subject is {@link Float#NEGATIVE_INFINITY}. */ public final void isNegativeInfinity() { super.isEqualTo(Float.NEGATIVE_INFINITY); }
/** @deprecated Use {@link #isWithin} instead. Float comparison should always have a tolerance. */ @Deprecated public final void isEqualTo(@Nullable Float other) { super.isEqualTo(other); }