spire.std

LongIsReal

trait LongIsReal extends IsIntegral[Long] with LongOrder with LongIsSigned

Linear Supertypes
LongIsSigned, LongOrder, IsIntegral[Long], IsRational[Long], IsAlgebraic[Long], IsReal[Long], Signed[Long], Order[Long], PartialOrder[Long], Eq[Long], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LongIsReal
  2. LongIsSigned
  3. LongOrder
  4. IsIntegral
  5. IsRational
  6. IsAlgebraic
  7. IsReal
  8. Signed
  9. Order
  10. PartialOrder
  11. Eq
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def abs(a: Long): Long

    An idempotent function that ensures an object has a non-negative sign.

    An idempotent function that ensures an object has a non-negative sign.

    Definition Classes
    LongIsSignedSigned
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def ceil(a: Long): Long

    Rounds a the nearest integer that is greater than or equal to a.

    Rounds a the nearest integer that is greater than or equal to a.

    Definition Classes
    IsIntegralIsReal
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compare(x: Long, y: Long): Int

    Definition Classes
    LongOrderOrder
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def eqv(x: Long, y: Long): Boolean

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    LongOrderOrderPartialOrderEq
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def floor(a: Long): Long

    Rounds a the nearest integer that is less than or equal to a.

    Rounds a the nearest integer that is less than or equal to a.

    Definition Classes
    IsIntegralIsReal
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def gt(x: Long, y: Long): Boolean

    Definition Classes
    LongOrderOrderPartialOrder
  18. def gteqv(x: Long, y: Long): Boolean

    Definition Classes
    LongOrderOrderPartialOrder
  19. def hashCode(): Int

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

    Definition Classes
    Any
  21. def isSignNegative(a: Long): Boolean

    Definition Classes
    Signed
  22. def isSignNonNegative(a: Long): Boolean

    Definition Classes
    Signed
  23. def isSignNonPositive(a: Long): Boolean

    Definition Classes
    Signed
  24. def isSignNonZero(a: Long): Boolean

    Definition Classes
    Signed
  25. def isSignPositive(a: Long): Boolean

    Definition Classes
    Signed
  26. def isSignZero(a: Long): Boolean

    Definition Classes
    Signed
  27. def isWhole(a: Long): Boolean

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  28. def lt(x: Long, y: Long): Boolean

    Definition Classes
    LongOrderOrderPartialOrder
  29. def lteqv(x: Long, y: Long): Boolean

    Definition Classes
    LongOrderOrderPartialOrder
  30. def max(x: Long, y: Long): Long

    Definition Classes
    Order
  31. def min(x: Long, y: Long): Long

    Definition Classes
    Order
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def neqv(x: Long, y: Long): Boolean

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    LongOrderEq
  34. final def notify(): Unit

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

    Definition Classes
    AnyRef
  36. def on[B](f: (B) ⇒ Long): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderPartialOrderEq
  37. def partialCompare(x: Long, y: Long): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x === y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  38. def pmax(x: Long, y: Long): Option[Long]

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Definition Classes
    PartialOrder
  39. def pmin(x: Long, y: Long): Option[Long]

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  40. def reverse: Order[Long]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  41. def round(a: Long): Long

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    IsIntegralIsReal
  42. def sign(a: Long): Sign

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Definition Classes
    Signed
  43. def signum(a: Long): Int

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    LongIsSignedSigned
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toAlgebraic(a: Long): Algebraic

    Definition Classes
    IsRationalIsAlgebraic
  46. def toBigInt(n: Long): BigInt

    Definition Classes
    LongIsRealIsIntegral
  47. def toDouble(n: Long): Double

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    LongIsRealIsReal
  48. def toRational(a: Long): Rational

    Definition Classes
    IsIntegralIsRational
  49. def toReal(a: Long): Real

    Definition Classes
    IsAlgebraicIsReal
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. def tryCompare(x: Long, y: Long): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iff x < y - zero iff x == y - positive iff x > y

    Definition Classes
    PartialOrder
  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LongIsSigned

Inherited from LongOrder

Inherited from IsIntegral[Long]

Inherited from IsRational[Long]

Inherited from IsAlgebraic[Long]

Inherited from IsReal[Long]

Inherited from Signed[Long]

Inherited from Order[Long]

Inherited from PartialOrder[Long]

Inherited from Eq[Long]

Inherited from AnyRef

Inherited from Any

Ungrouped