Class IsInfinite

All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class IsInfinite extends UnaryFunction
Tests if a double value is infinite. The result is true if the argument is a Double representing positive or negative infinity, false otherwise.
Author:
Richard Morris
See Also:
  • Constructor Details

    • IsInfinite

      public IsInfinite()
  • Method Details

    • eval

      public Object eval(Object arg)
      Description copied from class: UnaryFunction
      Evaluate the function
      Specified by:
      eval in class UnaryFunction
      Parameters:
      arg - the single argument passed in
      Returns:
      the result of the function