Packages

t

spire.std

FloatIsReal

trait FloatIsReal extends IsRational[Float] with FloatOrder with FloatIsSigned

Linear Supertypes
FloatIsSigned, FloatOrder, IsRational[Float], IsAlgebraic[Float], IsReal[Float], Signed[Float], Order[Float], PartialOrder[Float], Eq[Float], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FloatIsReal
  2. FloatIsSigned
  3. FloatOrder
  4. IsRational
  5. IsAlgebraic
  6. IsReal
  7. Signed
  8. Order
  9. PartialOrder
  10. Eq
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abs(a: Float): Float

    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
    FloatIsSignedSigned
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def ceil(a: Float): Float

    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
    FloatIsRealIsReal
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compare(x: Float, y: Float): Int
    Definition Classes
    FloatOrderOrder
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def eqv(x: Float, y: Float): Boolean

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

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

    Definition Classes
    FloatOrderOrderPartialOrderEq
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def floor(a: Float): Float

    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
    FloatIsRealIsReal
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def gt(x: Float, y: Float): Boolean
    Definition Classes
    FloatOrderOrderPartialOrder
  16. def gteqv(x: Float, y: Float): Boolean
    Definition Classes
    FloatOrderOrderPartialOrder
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isSignNegative(a: Float): Boolean
    Definition Classes
    Signed
  20. def isSignNonNegative(a: Float): Boolean
    Definition Classes
    Signed
  21. def isSignNonPositive(a: Float): Boolean
    Definition Classes
    Signed
  22. def isSignNonZero(a: Float): Boolean
    Definition Classes
    Signed
  23. def isSignPositive(a: Float): Boolean
    Definition Classes
    Signed
  24. def isSignZero(a: Float): Boolean
    Definition Classes
    Signed
  25. def isWhole(a: Float): Boolean

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    FloatIsRealIsReal
  26. def lt(x: Float, y: Float): Boolean
    Definition Classes
    FloatOrderOrderPartialOrder
  27. def lteqv(x: Float, y: Float): Boolean
    Definition Classes
    FloatOrderOrderPartialOrder
  28. def max(x: Float, y: Float): Float
    Definition Classes
    FloatOrderOrder
  29. def min(x: Float, y: Float): Float
    Definition Classes
    FloatOrderOrder
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def neqv(x: Float, y: Float): Boolean

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

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

    Definition Classes
    FloatOrderEq
  32. final def notify(): Unit
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  34. def on[B](f: (B) ⇒ Float): Order[B]

    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
  35. def partialCompare(x: Float, y: Float): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x === y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  36. def pmax(x: Float, y: Float): Option[Float]

    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
  37. def pmin(x: Float, y: Float): Option[Float]

    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
  38. def reverse: Order[Float]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  39. def round(a: Float): Float

    Rounds a to the nearest integer.

    Rounds a to the nearest integer.

    Definition Classes
    FloatIsRealIsReal
  40. def sign(a: Float): Sign

    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
  41. def signum(a: Float): Int

    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
    FloatIsSignedSigned
  42. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  43. def toAlgebraic(a: Float): Algebraic
    Definition Classes
    IsRationalIsAlgebraic
  44. def toDouble(x: Float): Double

    Approximates a as a Double.

    Approximates a as a Double.

    Definition Classes
    FloatIsRealIsReal
  45. def toRational(a: Float): Rational
    Definition Classes
    FloatIsRealIsRational
  46. def toReal(a: Float): Real
    Definition Classes
    IsAlgebraicIsReal
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def tryCompare(x: Float, y: Float): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iff x < y - zero iff x == y - positive iff x > y

    Definition Classes
    PartialOrder
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FloatIsSigned

Inherited from FloatOrder

Inherited from IsRational[Float]

Inherited from IsAlgebraic[Float]

Inherited from IsReal[Float]

Inherited from Signed[Float]

Inherited from Order[Float]

Inherited from PartialOrder[Float]

Inherited from Eq[Float]

Inherited from AnyRef

Inherited from Any

Ungrouped