Trait

dsptools.numbers

SIntIsReal

Related Doc: package numbers

Permalink

trait SIntIsReal extends IsIntegral[SInt] with SIntOrder with SIntSigned with hasContext

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SIntIsReal
  2. SIntSigned
  3. SIntOrder
  4. hasContext
  5. IsIntegral
  6. IsReal
  7. Signed
  8. Order
  9. PartialOrder
  10. Eq
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def abs(a: SInt): SInt

    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
    Signed
  2. abstract def context_abs(a: SInt): SInt

    Permalink
    Definition Classes
    Signed
  3. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ceil(a: SInt): SInt

    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
  6. def compare(x: SInt, y: SInt): ComparisonBundle

    Permalink
    Definition Classes
    SIntOrderOrder
  7. def context: DspContext

    Permalink
    Definition Classes
    hasContext
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  9. def eqv(x: SInt, y: SInt): Bool

    Permalink

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

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

    Definition Classes
    SIntOrderOrderPartialOrderEq
  10. def floor(a: SInt): SInt

    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
  11. def gt(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  12. def gteqv(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  14. def isEven(a: SInt): Bool

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

    Permalink
    Definition Classes
    Any
  16. def isOdd(a: SInt): Bool

    Permalink
    Definition Classes
    SIntIsRealIsIntegral
  17. def isSignNegative(a: SInt): Bool

    Permalink
    Definition Classes
    SIntSignedSigned
  18. def isSignNonNegative(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  19. def isSignNonPositive(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  20. def isSignNonZero(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  21. def isSignPositive(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  22. def isSignZero(a: SInt): Bool

    Permalink
    Definition Classes
    SIntSignedSigned
  23. def isWhole(a: SInt): Bool

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  24. def lt(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  25. def lteqv(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  26. def max(x: SInt, y: SInt): SInt

    Permalink
    Definition Classes
    Order
  27. def min(x: SInt, y: SInt): SInt

    Permalink
    Definition Classes
    Order
  28. def mod(a: SInt, b: SInt): SInt

    Permalink
    Definition Classes
    SIntIsRealIsIntegral
  29. def neqv(x: SInt, y: SInt): Bool

    Permalink

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

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

    Definition Classes
    SIntOrderEq
  30. def on[B <: Data](f: (B) ⇒ SInt): 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
  31. def partialCompare(x: SInt, y: SInt): 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
  32. def pmax(x: SInt, y: SInt): ValidIO[SInt]

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

    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
  34. def reverse: Order[SInt]

    Permalink

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  35. def round(a: SInt): SInt

    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
  36. def sign(a: SInt): 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
  37. def signum(a: SInt): 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
    SIntSignedSigned
  38. def toString(): String

    Permalink
    Definition Classes
    Any
  39. def truncate(a: SInt): SInt

    Permalink
    Definition Classes
    IsIntegralIsReal

Inherited from SIntSigned

Inherited from SIntOrder

Inherited from hasContext

Inherited from IsIntegral[SInt]

Inherited from IsReal[SInt]

Inherited from Signed[SInt]

Inherited from Order[SInt]

Inherited from PartialOrder[SInt]

Inherited from Eq[SInt]

Inherited from Any

Ungrouped