Trait

dsptools.numbers

FixedPointIsReal

Related Doc: package numbers

Permalink

trait FixedPointIsReal extends IsReal[FixedPoint] with FixedPointOrder with FixedPointSigned with hasContext

Linear Supertypes
FixedPointSigned, FixedPointOrder, hasContext, IsReal[FixedPoint], Signed[FixedPoint], Order[FixedPoint], PartialOrder[FixedPoint], Eq[FixedPoint], Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FixedPointIsReal
  2. FixedPointSigned
  3. FixedPointOrder
  4. hasContext
  5. IsReal
  6. Signed
  7. Order
  8. PartialOrder
  9. Eq
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    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 ceil(a: FixedPoint): FixedPoint

    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
    IsReal
  3. abstract def context_abs(a: FixedPoint): FixedPoint

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

    Permalink
    Definition Classes
    Any
  5. abstract def round(a: FixedPoint): FixedPoint

    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
    IsReal
  6. abstract def signum(a: FixedPoint): 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
    Signed

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 compare(x: FixedPoint, y: FixedPoint): ComparisonBundle

    Permalink
    Definition Classes
    FixedPointOrderOrder
  6. def context: DspContext

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

    Permalink
    Definition Classes
    Any
  8. def eqv(x: FixedPoint, y: FixedPoint): Bool

    Permalink

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

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

    Definition Classes
    FixedPointOrderOrderPartialOrderEq
  9. def floor(a: FixedPoint): FixedPoint

    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
    FixedPointIsRealIsReal
  10. def gt(x: FixedPoint, y: FixedPoint): Bool

    Permalink
    Definition Classes
    FixedPointOrderOrderPartialOrder
  11. def gteqv(x: FixedPoint, y: FixedPoint): Bool

    Permalink
    Definition Classes
    FixedPointOrderOrderPartialOrder
  12. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def isSignNegative(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  15. def isSignNonNegative(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  16. def isSignNonPositive(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  17. def isSignNonZero(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  18. def isSignPositive(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  19. def isSignZero(a: FixedPoint): Bool

    Permalink
    Definition Classes
    Signed
  20. def isWhole(a: FixedPoint): Bool

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    FixedPointIsRealIsReal
  21. def lt(x: FixedPoint, y: FixedPoint): Bool

    Permalink
    Definition Classes
    FixedPointOrderOrderPartialOrder
  22. def lteqv(x: FixedPoint, y: FixedPoint): Bool

    Permalink
    Definition Classes
    FixedPointOrderOrderPartialOrder
  23. def max(x: FixedPoint, y: FixedPoint): FixedPoint

    Permalink
    Definition Classes
    Order
  24. def min(x: FixedPoint, y: FixedPoint): FixedPoint

    Permalink
    Definition Classes
    Order
  25. def neqv(x: FixedPoint, y: FixedPoint): Bool

    Permalink

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

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

    Definition Classes
    FixedPointOrderEq
  26. def on[B <: Data](f: (B) ⇒ FixedPoint): 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
  27. def partialCompare(x: FixedPoint, y: FixedPoint): 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
  28. def pmax(x: FixedPoint, y: FixedPoint): ValidIO[FixedPoint]

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

    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
  30. def reverse: Order[FixedPoint]

    Permalink

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  31. def sign(a: FixedPoint): 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
  32. def toString(): String

    Permalink
    Definition Classes
    Any
  33. def truncate(a: FixedPoint): FixedPoint

    Permalink
    Definition Classes
    FixedPointIsRealIsReal

Inherited from FixedPointSigned

Inherited from FixedPointOrder

Inherited from hasContext

Inherited from IsReal[FixedPoint]

Inherited from Signed[FixedPoint]

Inherited from Order[FixedPoint]

Inherited from PartialOrder[FixedPoint]

Inherited from Eq[FixedPoint]

Inherited from Any

Ungrouped