Packages

o

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 ------------------------------------------------------------------------------ 64 bits: 1 sign-bit, 11 exponent-bits, 52 mantissa-bits + 1 implicit

http://docs.oracle.com/javase/8/docs/api/java/lang/Double.html

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtremeD
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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.0 + EPSILON != 1.0, slightly above 2^-53. Also, known as the "machine epsilon".

    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 MOST_NEGATIVE: Double

    Most negative finite value of type double.

  11. val NEGATIVE_INFINITY: Double

    Special value representing negative infinity: 1111111111110...0 Ex: -1.0 / 0.0

    Special value representing negative infinity: 1111111111110...0 Ex: -1.0 / 0.0

    See also

    http://stackoverflow.com/questions/13317566/what-are-the-infinity-constants-in-java-really

  12. val NaN: Double

    Special value representing an undefined value, i.e., "Not a Number": s11111111111m (m != 0) Ex: 0.0 / 0.0 = indeterminate, sqrt (-1.0) = Complex (0.0 + 1.0i) (not representable as a Double)

    Special value representing an undefined value, i.e., "Not a Number": s11111111111m (m != 0) Ex: 0.0 / 0.0 = indeterminate, sqrt (-1.0) = Complex (0.0 + 1.0i) (not representable as a Double)

    See also

    https://en.wikipedia.org/wiki/NaN

  13. val POSITIVE_INFINITY: Double

    Special value representing positive infinity: 0111111111110...0 Ex: 1.0 / 0.0

    Special value representing positive infinity: 0111111111110...0 Ex: 1.0 / 0.0

    See also

    http://stackoverflow.com/questions/13317566/what-are-the-infinity-constants-in-java-really

  14. 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.

  15. val _2_53: Double

    2^-53 = 1.1102230246251565E-16 is too small for the "machine epsilon".

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

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

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

    x

    the first value to compare

    y

    the second value to compare

  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped