Object

com.netflix.atlas.core.util

Math

Related Doc: package util

Permalink

object Math

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Math
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addNaN(v1: Double, v2: Double): Double

    Permalink

    Add two double values treating NaN as 0 if one side is a number.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. def gtNaN(v1: Double, v2: Double): Double

    Permalink

    Boolean greater than of two doubles treating NaN as smaller if one side is a number.

  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isNearlyZero(v: Double): Boolean

    Permalink

    Check if a double value is nearly zero, i.e., within a small amount from 0.

    Check if a double value is nearly zero, i.e., within a small amount from 0. For our purposes the small amount is 1e-12. Not sure of the original reason for choosing that amount, but it has been used for a long time.

  14. def ltNaN(v1: Double, v2: Double): Double

    Permalink

    Boolean greater than of two doubles treating NaN as smaller if one side is a number.

  15. def maxNaN(v1: Double, v2: Double): Double

    Permalink

    Find the max of two double values treating NaN as smaller if one side is a number.

  16. def minNaN(v1: Double, v2: Double): Double

    Permalink

    Find the min of two double values treating NaN as smaller if one side is a number.

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  20. def subtractNaN(v1: Double, v2: Double): Double

    Permalink

    Subtract two double values treating NaN as 0 if one side is a number.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toBoolean(v: Double): Boolean

    Permalink

    Convert a double value to a boolean.

    Convert a double value to a boolean. NaN and nearly 0 values are considered false, all other values are true.

  23. def toBooleanDouble(v: Double): Double

    Permalink

    Convert a double value to a boolean.

    Convert a double value to a boolean. NaN and nearly 0 values are considered false, all other values are true.

  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped