Natural

@SerialVersionUID(0L) sealed abstract
class Natural extends ScalaNumber with ScalaNumericConversions with Serializable
Companion
object
trait ScalaNumericConversions
trait ScalaNumericAnyConversions
class ScalaNumber
class Number
trait Serializable
class Object
trait Matchable
class Any
class Digit
class End

Value members

Abstract methods

def %(rd: UInt): Natural
def *(rd: UInt): Natural
def +(rd: UInt): Natural
def -(rd: UInt): Natural
def /(rd: UInt): Natural
def /%(rd: UInt): (Natural, Natural)
def digit: UInt

Concrete methods

def %(rhs: BigInt): BigInt
def %(rhs: Natural): Natural
def &(rhs: Natural): Natural
def &(rhs: UInt): Natural
def *(rhs: BigInt): BigInt
def *(rhs: Natural): Natural
def +(rhs: BigInt): BigInt
def +(rhs: Natural): Natural
def -(rhs: BigInt): BigInt
def -(rhs: Natural): Natural
def /(rhs: BigInt): BigInt
def /(rhs: Natural): Natural
def /%(rhs: BigInt): (BigInt, BigInt)
def /%(rhs: Natural): (Natural, Natural)
def /~(rd: UInt): Natural
def /~(rhs: BigInt): BigInt
def /~(rhs: Natural): Natural
def <(rhs: Natural): Boolean
def <(r: UInt): Boolean
def <(r: BigInt): Boolean
def <<(n: Int): Natural
def <=(rhs: Natural): Boolean
def <=(r: UInt): Boolean
def <=(r: BigInt): Boolean
def =!=(rhs: Natural): Boolean
def ===(rhs: Natural): Boolean
def >(rhs: Natural): Boolean
def >(r: UInt): Boolean
def >(r: BigInt): Boolean
def >=(rhs: Natural): Boolean
def >=(r: UInt): Boolean
def >=(r: BigInt): Boolean
def >>(n: Int): Natural
def ^(rhs: Natural): Natural
def ^(rhs: UInt): Natural
def chop(n: Int): Natural
def compare(rhs: UInt): Int
def compare(rhs: Natural): Int
def doubleValue: Double
final override
def equals(rhs: Any): Boolean
Definition Classes
Any
def floatValue: Float
def foldDigitsLeft[@specialized A](a: A)(f: (A, UInt) => A): A
def foldDigitsRight[@specialized A](a: A)(f: (A, UInt) => A): A
def getNumBits: Int
def intValue: Int
def isEven: Boolean
def isOdd: Boolean
def isOne: Boolean
def isWhole: Boolean
def isZero: Boolean
def longValue: Long
def pow(rhs: Natural): Natural
def pow(rhs: UInt): Natural
def powerOfTwo: Int
def toArray: Array[Int]
def toBigInt: BigInt
override
def toInt: Int
Definition Classes
ScalaNumericAnyConversions
def toList: List[UInt]
override
def toLong: Long
Definition Classes
ScalaNumericAnyConversions
def toRepr: String
override
def toString: String
Definition Classes
Any
def underlying: Object
def |(rhs: Natural): Natural
def |(rhs: UInt): Natural

Inherited methods

def byteValue(): Byte
Inherited from
Number
def isValidByte: Boolean
Inherited from
ScalaNumericAnyConversions
def isValidChar: Boolean
Inherited from
ScalaNumericAnyConversions
def isValidInt: Boolean
Inherited from
ScalaNumericAnyConversions
def isValidShort: Boolean
Inherited from
ScalaNumericAnyConversions
def shortValue(): Short
Inherited from
Number
def toByte: Byte
Inherited from
ScalaNumericAnyConversions
def toChar: Char
Inherited from
ScalaNumericAnyConversions
def toDouble: Double
Inherited from
ScalaNumericAnyConversions
def toFloat: Float
Inherited from
ScalaNumericAnyConversions
def toShort: Short
Inherited from
ScalaNumericAnyConversions
protected
def unifiedPrimitiveEquals(x: Any): Boolean
Inherited from
ScalaNumericAnyConversions
protected
Inherited from
ScalaNumericAnyConversions