spire.math

SafeLongBigInt

case class SafeLongBigInt extends ScalaNumber with SafeLong with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, SafeLong, Ordered[SafeLong], Comparable[SafeLong], ScalaNumericConversions, ScalaNumericAnyConversions, ScalaNumber, java.lang.Number, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SafeLongBigInt
  2. Serializable
  3. Product
  4. Equals
  5. SafeLong
  6. Ordered
  7. Comparable
  8. ScalaNumericConversions
  9. ScalaNumericAnyConversions
  10. ScalaNumber
  11. Number
  12. Serializable
  13. AnyRef
  14. 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. def %(y: BigInt): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  5. def %(y: Long): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  6. def %(rhs: SafeLong): SafeLong

    Definition Classes
    SafeLong
  7. def *(y: BigInt): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  8. def *(y: Long): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  9. def *(rhs: SafeLong): SafeLong

    Definition Classes
    SafeLong
  10. def +(y: BigInt): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  11. def +(y: Long): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  12. def +(rhs: SafeLong): SafeLong

    Definition Classes
    SafeLong
  13. def -(y: BigInt): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  14. def -(y: Long): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  15. def -(rhs: SafeLong): SafeLong

    Definition Classes
    SafeLong
  16. def /(y: BigInt): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  17. def /(y: Long): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  18. def /(rhs: SafeLong): SafeLong

    Definition Classes
    SafeLong
  19. def <(that: SafeLong): Boolean

    Definition Classes
    Ordered
  20. def <=(that: SafeLong): Boolean

    Definition Classes
    Ordered
  21. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  23. def >(that: SafeLong): Boolean

    Definition Classes
    Ordered
  24. def >=(that: SafeLong): Boolean

    Definition Classes
    Ordered
  25. def abs: SafeLong

    Definition Classes
    SafeLong
  26. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  27. def byteValue(): Byte

    Definition Classes
    Number
  28. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. def compare(that: SafeLong): Int

    Definition Classes
    SafeLongBigInt → Ordered
  30. def compareTo(that: SafeLong): Int

    Definition Classes
    Ordered → Comparable
  31. def doubleValue(): Double

    Definition Classes
    SafeLongBigInt → ScalaNumericAnyConversions → Number
  32. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def equals(that: Any): Boolean

    Definition Classes
    SafeLongBigInt → Equals → AnyRef → Any
  34. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def floatValue(): Float

    Definition Classes
    SafeLongBigInt → ScalaNumericAnyConversions → Number
  36. def fold[A, B <: A, C <: A](f: (Long) ⇒ B, g: (BigInt) ⇒ C): A

    Definition Classes
    SafeLongBigIntSafeLong
  37. def foldWith[A, B <: A, C <: A](that: SafeLong)(f: (Long, Long) ⇒ B, g: (BigInt, BigInt) ⇒ C): A

    If this SafeLong is backed by a Long and that SafeLong is backed by a Long as well, then f will be called with both values.

    If this SafeLong is backed by a Long and that SafeLong is backed by a Long as well, then f will be called with both values. Otherwise, this and that will be converted to BigInts and g will be called with these BigInts.

    Definition Classes
    SafeLong
  38. def gcd(that: SafeLong): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. def intValue(): Int

    Definition Classes
    SafeLongBigInt → ScalaNumericAnyConversions → Number
  41. def isBigInt: Boolean

    Definition Classes
    SafeLong
  42. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  43. def isLong: Boolean

    Definition Classes
    SafeLong
  44. def isValidByte: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  45. def isValidChar: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  46. def isValidInt: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  47. def isValidShort: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  48. final def isWhole(): Boolean

    Definition Classes
    SafeLong → ScalaNumericAnyConversions → ScalaNumber
  49. def longValue(): Long

    Definition Classes
    SafeLongBigInt → ScalaNumericAnyConversions → Number
  50. def map(f: (Long) ⇒ Long, g: (BigInt) ⇒ BigInt): SafeLong

    Definition Classes
    SafeLong
  51. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  54. final def pow(rhs: Int): SafeLong

    Exponentiation function, e.

    Exponentiation function, e.g. x^y

    If base^exponent doesn't fit in a Long, the result will overflow (unlike scala.math.pow which will return +/- Infinity).

    Definition Classes
    SafeLong
  55. def shortValue(): Short

    Definition Classes
    Number
  56. def signum: Int

    Definition Classes
    SafeLong
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def toBigDecimal: BigDecimal

    Definition Classes
    SafeLongBigIntSafeLong
  59. def toBigInt: BigInt

    Definition Classes
    SafeLongBigIntSafeLong
  60. def toByte: Byte

    Definition Classes
    SafeLong → ScalaNumericAnyConversions
  61. def toChar: Char

    Definition Classes
    ScalaNumericAnyConversions
  62. def toDouble: Double

    Definition Classes
    ScalaNumericAnyConversions
  63. def toFloat: Float

    Definition Classes
    ScalaNumericAnyConversions
  64. def toInt: Int

    Definition Classes
    SafeLong → ScalaNumericAnyConversions
  65. def toLong: Long

    Definition Classes
    SafeLongBigInt → ScalaNumericAnyConversions
  66. def toShort: Short

    Definition Classes
    SafeLong → ScalaNumericAnyConversions
  67. def toString(): String

    Definition Classes
    SafeLong → AnyRef → Any
  68. def unary_-(): SafeLong

    Definition Classes
    SafeLongBigIntSafeLong
  69. def underlying(): BigInt

    Definition Classes
    SafeLongBigInt → ScalaNumericConversions → ScalaNumericAnyConversions → ScalaNumber
  70. def unifiedPrimitiveEquals(x: Any): Boolean

    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  71. def unifiedPrimitiveHashcode(): Int

    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  75. val x: BigInt

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SafeLong

Inherited from Ordered[SafeLong]

Inherited from Comparable[SafeLong]

Inherited from ScalaNumericConversions

Inherited from ScalaNumericAnyConversions

Inherited from ScalaNumber

Inherited from java.lang.Number

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped