Packages

sealed abstract class Natural extends ScalaNumber with ScalaNumericConversions with Serializable

Self Type
Natural
Annotations
@SerialVersionUID()
Linear Supertypes
ScalaNumericConversions, ScalaNumericAnyConversions, ScalaNumber, java.lang.Number, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Natural
  2. ScalaNumericConversions
  3. ScalaNumericAnyConversions
  4. ScalaNumber
  5. Number
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def %(rd: UInt): Natural
  2. abstract def *(rd: UInt): Natural
  3. abstract def +(rd: UInt): Natural
  4. abstract def -(rd: UInt): Natural
  5. abstract def /(rd: UInt): Natural
  6. abstract def /%(rd: UInt): (Natural, Natural)
  7. abstract def digit: UInt

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def %(rhs: Natural): Natural
  4. def %(rhs: BigInt): BigInt
  5. def &(rhs: UInt): Natural
  6. def &(rhs: Natural): Natural
  7. def *(rhs: Natural): Natural
  8. def *(rhs: BigInt): BigInt
  9. def +(rhs: Natural): Natural
  10. def +(rhs: BigInt): BigInt
  11. def -(rhs: Natural): Natural
  12. def -(rhs: BigInt): BigInt
  13. def /(rhs: Natural): Natural
  14. def /(rhs: BigInt): BigInt
  15. def /%(rhs: Natural): (Natural, Natural)
  16. def /%(rhs: BigInt): (BigInt, BigInt)
  17. def /~(rhs: Natural): Natural
  18. def /~(rhs: BigInt): BigInt
  19. def /~(rd: UInt): Natural
  20. def <(r: BigInt): Boolean
  21. def <(r: UInt): Boolean
  22. def <(rhs: Natural): Boolean
  23. def <<(n: Int): Natural
  24. def <=(r: BigInt): Boolean
  25. def <=(r: UInt): Boolean
  26. def <=(rhs: Natural): Boolean
  27. def =!=(rhs: Natural): Boolean
  28. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  29. def ===(rhs: Natural): Boolean
  30. def >(r: BigInt): Boolean
  31. def >(r: UInt): Boolean
  32. def >(rhs: Natural): Boolean
  33. def >=(r: BigInt): Boolean
  34. def >=(r: UInt): Boolean
  35. def >=(rhs: Natural): Boolean
  36. def >>(n: Int): Natural
  37. def ^(rhs: UInt): Natural
  38. def ^(rhs: Natural): Natural
  39. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  40. def byteValue(): Byte
    Definition Classes
    Number
  41. def chop(n: Int): Natural
  42. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  43. def compare(rhs: Natural): Int
  44. def compare(rhs: UInt): Int
  45. def doubleValue: Double
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  46. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def equals(rhs: Any): Boolean
    Definition Classes
    Natural → AnyRef → Any
  48. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  49. def floatValue: Float
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  50. def foldDigitsLeft[A](a: A)(f: (A, UInt) => A): A
  51. def foldDigitsRight[A](a: A)(f: (A, UInt) => A): A
  52. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  53. def getDigitLength: Int
  54. def getNumBits: Int
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  56. def intValue: Int
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  57. def isEven: Boolean
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. def isOdd: Boolean
  60. def isOne: Boolean
  61. def isValidByte: Boolean
    Definition Classes
    ScalaNumericAnyConversions
  62. def isValidChar: Boolean
    Definition Classes
    ScalaNumericAnyConversions
  63. def isValidInt: Boolean
    Definition Classes
    ScalaNumericAnyConversions
  64. def isValidShort: Boolean
    Definition Classes
    ScalaNumericAnyConversions
  65. def isWhole: Boolean
    Definition Classes
    Natural → ScalaNumericAnyConversions → ScalaNumber
  66. def isZero: Boolean
  67. def longValue: Long
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. def pow(rhs: UInt): Natural
  72. def pow(rhs: Natural): Natural
  73. def powerOfTwo: Int
  74. def reversed: Natural
  75. def shortValue(): Short
    Definition Classes
    Number
  76. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  77. def toArray: Array[Int]
  78. def toBigInt: BigInt
  79. def toByte: Byte
    Definition Classes
    ScalaNumericAnyConversions
  80. def toChar: Char
    Definition Classes
    ScalaNumericAnyConversions
  81. def toDouble: Double
    Definition Classes
    ScalaNumericAnyConversions
  82. def toFloat: Float
    Definition Classes
    ScalaNumericAnyConversions
  83. def toInt: Int
    Definition Classes
    Natural → ScalaNumericAnyConversions
  84. def toList: List[UInt]
  85. def toLong: Long
    Definition Classes
    Natural → ScalaNumericAnyConversions
  86. def toRepr: String
  87. def toShort: Short
    Definition Classes
    ScalaNumericAnyConversions
  88. def toString(): String
    Definition Classes
    Natural → AnyRef → Any
  89. def trim: Natural
  90. def underlying(): AnyRef
    Definition Classes
    Natural → ScalaNumericConversions → ScalaNumber
  91. def unifiedPrimitiveEquals(x: Any): Boolean
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  92. def unifiedPrimitiveHashcode: Int
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  93. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  94. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  95. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  96. def |(rhs: UInt): Natural
  97. def |(rhs: Natural): Natural

Inherited from ScalaNumericConversions

Inherited from ScalaNumericAnyConversions

Inherited from ScalaNumber

Inherited from java.lang.Number

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped