Object

dsptools.numbers.UIntImpl

UIntIntegerImpl

Related Doc: package UIntImpl

Permalink

implicit object UIntIntegerImpl extends UIntInteger

Linear Supertypes
UIntInteger, IntegerBits[UInt], Integer[UInt], RealBits[UInt], Real[UInt], BinaryRepresentationUInt, BinaryRepresentation[UInt], ConvertableFromUInt, ChiselConvertableFrom[UInt], ConvertableToUInt, ConvertableTo[UInt], spire.math.ConvertableTo[UInt], UIntIsReal, UIntSigned, UIntOrder, IsIntegral[UInt], IsReal[UInt], Signed[UInt], Order[UInt], PartialOrder[UInt], Eq[UInt], UIntRing, hasContext, Ring[UInt], algebra.ring.Ring[UInt], Rng[UInt], AdditiveCommutativeGroup[UInt], algebra.ring.AdditiveGroup[UInt], Rig[UInt], MultiplicativeMonoid[UInt], Semiring[UInt], MultiplicativeSemigroup[UInt], AdditiveCommutativeMonoid[UInt], AdditiveCommutativeSemigroup[UInt], AdditiveMonoid[UInt], AdditiveSemigroup[UInt], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UIntIntegerImpl
  2. UIntInteger
  3. IntegerBits
  4. Integer
  5. RealBits
  6. Real
  7. BinaryRepresentationUInt
  8. BinaryRepresentation
  9. ConvertableFromUInt
  10. ChiselConvertableFrom
  11. ConvertableToUInt
  12. ConvertableTo
  13. ConvertableTo
  14. UIntIsReal
  15. UIntSigned
  16. UIntOrder
  17. IsIntegral
  18. IsReal
  19. Signed
  20. Order
  21. PartialOrder
  22. Eq
  23. UIntRing
  24. hasContext
  25. Ring
  26. Ring
  27. Rng
  28. AdditiveCommutativeGroup
  29. AdditiveGroup
  30. Rig
  31. MultiplicativeMonoid
  32. Semiring
  33. MultiplicativeSemigroup
  34. AdditiveCommutativeMonoid
  35. AdditiveCommutativeSemigroup
  36. AdditiveMonoid
  37. AdditiveSemigroup
  38. Serializable
  39. Serializable
  40. AnyRef
  41. 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 abs(a: UInt): UInt

    Permalink

    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
    UIntSignedSigned
  5. def additive: CommutativeGroup[UInt]

    Permalink
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. def asFixed(a: UInt, proto: FixedPoint): FixedPoint

    Permalink
  7. def asFixed(a: UInt): FixedPoint

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asReal(a: UInt): DspReal

    Permalink
  10. def ceil(a: UInt): UInt

    Permalink

    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
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compare(x: UInt, y: UInt): ComparisonBundle

    Permalink
    Definition Classes
    UIntOrderOrder
  13. def context: DspContext

    Permalink
    Definition Classes
    hasContext
  14. def context_abs(a: UInt): UInt

    Permalink
    Definition Classes
    UIntSignedSigned
  15. def div2(a: UInt, n: Int): UInt

    Permalink
    Definition Classes
    BinaryRepresentation
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def eqv(x: UInt, y: UInt): Bool

    Permalink

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

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

    Definition Classes
    UIntOrderOrderPartialOrderEq
  19. def finalize(): Unit

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

    Permalink

    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
  21. def fromAlgebraic(a: Algebraic): UInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  22. def fromBigDecimal(n: BigDecimal): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  23. def fromBigInt(n: BigInt): UInt

    Permalink
    Definition Classes
    UIntIntegerConvertableToUInt → ConvertableTo → Ring
  24. def fromByte(n: Byte): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  25. def fromDouble(d: Double, a: UInt): UInt

    Permalink
    Definition Classes
    ConvertableToUIntConvertableTo
  26. def fromDouble(n: Double): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  27. def fromDoubleWithFixedWidth(d: Double, a: UInt): UInt

    Permalink
    Definition Classes
    ConvertableToUIntConvertableTo
  28. def fromFloat(n: Float): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  29. def fromInt(n: Int): UInt

    Permalink
    Definition Classes
    UIntIntegerConvertableToUInt → ConvertableTo → Ring
  30. def fromLong(n: Long): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  31. def fromRational(a: Rational): UInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  32. def fromReal(a: spire.math.Real): UInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  33. def fromShort(n: Short): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  34. def fromType[B](n: B)(implicit c: ConvertableFrom[B]): UInt

    Permalink
    Definition Classes
    ConvertableToUInt → ConvertableTo
  35. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  36. def gt(x: UInt, y: UInt): Bool

    Permalink
    Definition Classes
    UIntOrderOrderPartialOrder
  37. def gteqv(x: UInt, y: UInt): Bool

    Permalink
    Definition Classes
    UIntOrderOrderPartialOrder
  38. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  39. def intPart(a: UInt): SInt

    Permalink
  40. def isEven(a: UInt): Bool

    Permalink
    Definition Classes
    IsIntegral
  41. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  42. def isOdd(a: UInt): Bool

    Permalink
    Definition Classes
    UIntIsRealIsIntegral
  43. def isOne(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean

    Permalink
    Definition Classes
    MultiplicativeMonoid
  44. def isSignNegative(a: UInt): Bool

    Permalink
    Definition Classes
    UIntSignedSigned
  45. def isSignNonNegative(a: UInt): Bool

    Permalink
    Definition Classes
    Signed
  46. def isSignNonPositive(a: UInt): Bool

    Permalink
    Definition Classes
    Signed
  47. def isSignNonZero(a: UInt): Bool

    Permalink
    Definition Classes
    Signed
  48. def isSignPositive(a: UInt): Bool

    Permalink
    Definition Classes
    UIntSignedSigned
  49. def isSignZero(a: UInt): Bool

    Permalink
    Definition Classes
    UIntSignedSigned
  50. def isWhole(a: UInt): Bool

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  51. def isZero(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean

    Permalink
    Definition Classes
    AdditiveMonoid
  52. def lt(x: UInt, y: UInt): Bool

    Permalink
    Definition Classes
    UIntOrderOrderPartialOrder
  53. def lteqv(x: UInt, y: UInt): Bool

    Permalink
    Definition Classes
    UIntOrderOrderPartialOrder
  54. def max(x: UInt, y: UInt): UInt

    Permalink
    Definition Classes
    Order
  55. def min(x: UInt, y: UInt): UInt

    Permalink
    Definition Classes
    Order
  56. def minus(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRing → AdditiveGroup
  57. def minusContext(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRingRing
  58. def mod(a: UInt, b: UInt): UInt

    Permalink
    Definition Classes
    UIntIsRealIsIntegral
  59. def mul2(a: UInt, n: Int): UInt

    Permalink
    Definition Classes
    BinaryRepresentation
  60. def multiplicative: Monoid[UInt]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  61. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  62. def negate(f: UInt): UInt

    Permalink
    Definition Classes
    UIntRing → AdditiveGroup
  63. def negateContext(f: UInt): UInt

    Permalink
    Definition Classes
    UIntRingRing
  64. def neqv(x: UInt, y: UInt): Bool

    Permalink

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

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

    Definition Classes
    UIntOrderEq
  65. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. def on[B <: Data](f: (B) ⇒ UInt): Order[B]

    Permalink

    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
  68. def one: UInt

    Permalink
    Definition Classes
    UIntRing → MultiplicativeMonoid
  69. def partialCompare(x: UInt, y: UInt): ValidIO[ComparisonBundle]

    Permalink

    Result of comparing x with y.

    Result of comparing x with y. Returns ValidIO[ComparisonBundle] with valid false if operands are not comparable. If operands are comparable, bits.lt will be true if x < y and bits.eq will be true if x = y

    Definition Classes
    OrderPartialOrder
  70. def plus(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRing → AdditiveSemigroup
  71. def plusContext(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRingRing
  72. def pmax(x: UInt, y: UInt): ValidIO[UInt]

    Permalink

    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
  73. def pmin(x: UInt, y: UInt): ValidIO[UInt]

    Permalink

    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
  74. def positivePow(a: UInt, n: Int): UInt

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  75. def positiveSumN(a: UInt, n: Int): UInt

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  76. def pow(a: UInt, n: Int): UInt

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  77. def product(as: TraversableOnce[UInt]): UInt

    Permalink
    Definition Classes
    MultiplicativeMonoid
  78. def reverse: Order[UInt]

    Permalink

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  79. def round(a: UInt): UInt

    Permalink

    Rounds a to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e.

    Rounds a to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e. round half up)

    Definition Classes
    IsIntegralIsReal
  80. def shl(a: UInt, n: UInt): UInt

    Permalink
  81. def shl(a: UInt, n: Int): UInt

    Permalink
  82. def shr(a: UInt, n: UInt): UInt

    Permalink
  83. def shr(a: UInt, n: Int): UInt

    Permalink
  84. def sign(a: UInt): Sign

    Permalink

    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
  85. def signBit(a: UInt): Bool

    Permalink
    Definition Classes
    UIntIntegerBinaryRepresentation
  86. def signum(a: UInt): ComparisonBundle

    Permalink

    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
    UIntSignedSigned
  87. def sum(as: TraversableOnce[UInt]): UInt

    Permalink
    Definition Classes
    AdditiveMonoid
  88. def sumN(a: UInt, n: Int): UInt

    Permalink
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  89. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  90. def times(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRing → MultiplicativeSemigroup
  91. def timesContext(f: UInt, g: UInt): UInt

    Permalink
    Definition Classes
    UIntRingRing
  92. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  93. def trimBinary(a: UInt, n: Option[Int]): UInt

    Permalink
  94. def trimBinary(a: UInt, n: Int): UInt

    Permalink
  95. def truncate(a: UInt): UInt

    Permalink
    Definition Classes
    IsIntegralIsReal
  96. def tryProduct(as: TraversableOnce[UInt]): Option[UInt]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  97. def trySum(as: TraversableOnce[UInt]): Option[UInt]

    Permalink
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  98. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. def zero: UInt

    Permalink
    Definition Classes
    UIntRing → AdditiveMonoid

Inherited from UIntInteger

Inherited from IntegerBits[UInt]

Inherited from Integer[UInt]

Inherited from RealBits[UInt]

Inherited from Real[UInt]

Inherited from BinaryRepresentationUInt

Inherited from BinaryRepresentation[UInt]

Inherited from ConvertableFromUInt

Inherited from ChiselConvertableFrom[UInt]

Inherited from ConvertableToUInt

Inherited from ConvertableTo[UInt]

Inherited from spire.math.ConvertableTo[UInt]

Inherited from UIntIsReal

Inherited from UIntSigned

Inherited from UIntOrder

Inherited from IsIntegral[UInt]

Inherited from IsReal[UInt]

Inherited from Signed[UInt]

Inherited from Order[UInt]

Inherited from PartialOrder[UInt]

Inherited from Eq[UInt]

Inherited from UIntRing

Inherited from hasContext

Inherited from Ring[UInt]

Inherited from algebra.ring.Ring[UInt]

Inherited from Rng[UInt]

Inherited from AdditiveCommutativeGroup[UInt]

Inherited from algebra.ring.AdditiveGroup[UInt]

Inherited from Rig[UInt]

Inherited from MultiplicativeMonoid[UInt]

Inherited from Semiring[UInt]

Inherited from MultiplicativeSemigroup[UInt]

Inherited from AdditiveCommutativeMonoid[UInt]

Inherited from AdditiveCommutativeSemigroup[UInt]

Inherited from AdditiveMonoid[UInt]

Inherited from AdditiveSemigroup[UInt]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped