scalation.math

ExtremeD

object ExtremeD

The ExtremeD object contains constants representing extreme values for Double (IEEE 754 double precision floating point numbers).

See also

en.wikipedia.org/wiki/Double-precision_floating-point_format

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtremeD
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val EPSILON: Double

    Smallest double such that 1.

    Smallest double such that 1.0 + EPSILON != 1.0, slightly above 2^-53. Also, known as the "machine epsilon".

    See also

    https://issues.scala-lang.org/browse/SI-3791

  5. val MAX_EXPONENT: Int

    Largest exponent a finite double variable may have.

  6. val MAX_VALUE: Double

    Largest positive finite value of type double, 2^1023

  7. val MIN_EXPONENT: Int

    Smallest exponent a normalized double variable may have.

  8. val MIN_NORMAL: Double

    Smallest positive normal value of type double, 2^-1022 (retains full precision). Also, the smallest double such that 1.0 / SAFE_MIN does not overflow.

  9. val MIN_VALUE: Double

    Smallest positive nonzero value of type double, 2^-1074 (minimal precision).

  10. val TOL: Double

    Default tolerance should be much larger than the "machine epsilon".

    Default tolerance should be much larger than the "machine epsilon". Application dependent => redefine as needed per application.

  11. val _2_53: Double

  12. def approx(x: Double, y: Double): Boolean

    Return true if x == y approximately, i.

    Return true if x == y approximately, i.e., the difference is less than TOL.

    x

    the first value to compare

    y

    the second value to compare

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped