Package soot.jimple

Class RealConstant

    • Constructor Detail

      • RealConstant

        public RealConstant()
    • Method Detail

      • cmpl

        public abstract IntConstant cmpl​(RealConstant constant)
        Performs the indicated floating point comparison. For NaN comparisons -1 is returned.
        Parameters:
        constant - the value to compare with
        Returns:
        0 if values are equal, 1 if passed value less, or -1 if passed value greater. When any of the values is NaN method returns -1.
      • cmpg

        public abstract IntConstant cmpg​(RealConstant constant)
        Performs the indicated floating point comparison. For NaN comparisons 1 is returned.
        Parameters:
        constant - the value to compare with
        Returns:
        0 if values are equal, 1 if passed value less, or -1 if passed value greater. When any of the values is NaN method returns 1.