Enum NaNEquality

java.lang.Object
java.lang.Enum<NaNEquality>
ai.rapids.cudf.NaNEquality
All Implemented Interfaces:
Serializable, Comparable<NaNEquality>, java.lang.constant.Constable

public enum NaNEquality extends Enum<NaNEquality>
How should NaNs be compared in an operation. In floating point there are multiple different binary representations for NaN.
  • Enum Constant Details

    • UNEQUAL

      public static final NaNEquality UNEQUAL
      No NaN representation is considered equal to any NaN representation, even for the exact same representation.
    • ALL_EQUAL

      public static final NaNEquality ALL_EQUAL
      All representations of NaN are considered to be equal.
  • Method Details

    • values

      public static NaNEquality[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NaNEquality valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null