Class FunctionBinaryFloat.DivisionDouble_yxz

    • Method Detail

      • get_method_name

        public String[] get_method_name​(@GuardSatisfied FunctionBinaryFloat.DivisionDouble_yxz this)
      • get_var_order

        public int get_var_order​(@GuardSatisfied FunctionBinaryFloat.DivisionDouble_yxz this)
      • func

        public double func​(double x,
                           double z)
      • check_modified

        public InvariantStatus check_modified​(double x,
                                              double y,
                                              double z,
                                              int count)
        Description copied from class: ThreeFloat
        Presents a sample to the invariant. Returns whether the sample is consistent with the invariant. Does not change the state of the invariant.
        Specified by:
        check_modified in class ThreeFloat
        count - how many identical samples were observed in a row. For example, three calls to check_modified with a count parameter of 1 is equivalent to one call to check_modified with a count parameter of 3.
        Returns:
        whether or not the sample is consistent with the invariant
      • isExact

        @Pure
        public boolean isExact()
        Description copied from class: Invariant
        Subclasses should override. An exact invariant indicates that given all but one variable value, the last one can be computed. (I think that's correct, anyway.) Examples are IntComparison (when only equality is possible), LinearBinary, FunctionUnary. OneOf is treated differently, as an interface. The result of this method does not depend on whether the invariant is justified, destroyed, etc.
        Overrides:
        isExact in class Invariant
        Returns:
        true if any variable value can be computed from all the others