Package com.singularsys.jep.misc.functions

# Class IsInfinite

java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.UnaryFunction
com.singularsys.jep.misc.functions.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:
  - Serialized Form

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class com.singularsys.jep.functions.UnaryFunction

  `UnaryFunction.FunctionWithException<T>`

- ## Field Summary

  ### Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand

  `curNumberOfParameters, description, name, NaN, numberOfParameters`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IsInfinite()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `eval(Object arg)`
  Evaluate the function

  ### Methods inherited from class com.singularsys.jep.functions.UnaryFunction

  `instanceOf, instanceOf, instanceOf, instanceOf, run`

  ### Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand

  `asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, checkNumberOfParameters, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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