ByteIsReal

trait ByteOrder
trait CommutativeRing[Byte]
trait CommutativeRng[Byte]
trait CommutativeRig[Byte]
trait MultiplicativeCommutativeMonoid[Byte]
trait CommutativeSemiring[Byte]
trait MultiplicativeCommutativeSemigroup[Byte]
trait Ring[Byte]
trait Rng[Byte]
trait AdditiveCommutativeGroup[Byte]
trait AdditiveGroup[Byte]
trait Rig[Byte]
trait MultiplicativeMonoid[Byte]
trait Semiring[Byte]
trait MultiplicativeSemigroup[Byte]
trait AdditiveCommutativeMonoid[Byte]
trait AdditiveCommutativeSemigroup[Byte]
trait AdditiveMonoid[Byte]
trait AdditiveSemigroup[Byte]
trait TruncatedDivision[Byte]
trait IsIntegral[Byte]
trait IsRational[Byte]
trait IsAlgebraic[Byte]
trait IsReal[Byte]
trait Signed[Byte]
trait Order[Byte]
trait PartialOrder[Byte]
trait Eq[Byte]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def toBigInt(n: Byte): BigInt
def toDouble(n: Byte): Double

Inherited methods

override
def abs(a: Byte): Byte
Definition Classes
Inherited from
ByteSigned
override
def additive: CommutativeGroup[Byte]
Definition Classes
AdditiveCommutativeGroup -> AdditiveCommutativeMonoid -> AdditiveCommutativeSemigroup -> AdditiveGroup -> AdditiveMonoid -> AdditiveSemigroup
Inherited from
AdditiveCommutativeGroup
def ceil(a: Byte): Byte
Inherited from
IsIntegral
def compare(x: Byte, y: Byte): Int
Inherited from
ByteOrder
def comparison(x: Byte, y: Byte): Comparison

Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

Like compare, but returns a cats.kernel.Comparison instead of an Int. Has the benefit of being able to pattern match on, but not as performant.

Inherited from
Order
override
def eqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder -> Eq
Inherited from
ByteOrder
def floor(a: Byte): Byte
Inherited from
IsIntegral
def fmod(x: Byte, y: Byte): Byte
def fquot(x: Byte, y: Byte): Byte
override
def fquotmod(x: Byte, y: Byte): (Byte, Byte)
def fromBigInt(n: BigInt): Byte

Convert the given BigInt to an instance of A.

Convert the given BigInt to an instance of A.

This is equivalent to n repeated summations of this ring's one, or -n summations of -one if n is negative.

Most type class instances should consider overriding this method for performance reasons.

Inherited from
Ring
def fromInt(n: Int): Byte

Convert the given integer to an instance of A.

Convert the given integer to an instance of A.

Defined to be equivalent to sumN(one, n).

That is, n repeated summations of this ring's one, or -n summations of -one if n is negative.

Most type class instances should consider overriding this method for performance reasons.

Inherited from
Ring
override
def gt(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
override
def gteqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
def isOne(a: Byte)(implicit ev: Eq[Byte]): Boolean

Tests if a is one.

Tests if a is one.

Inherited from
MultiplicativeMonoid
def isSignNegative(a: Byte): Boolean
Inherited from
Signed
def isSignNonNegative(a: Byte): Boolean
Inherited from
Signed
def isSignNonPositive(a: Byte): Boolean
Inherited from
Signed
def isSignNonZero(a: Byte): Boolean
Inherited from
Signed
def isSignPositive(a: Byte): Boolean
Inherited from
Signed
def isSignZero(a: Byte): Boolean
Inherited from
Signed
def isWhole(a: Byte): Boolean
Inherited from
IsIntegral
def isZero(a: Byte)(implicit ev: Eq[Byte]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from
AdditiveMonoid
override
def lt(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
override
def lteqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> PartialOrder
Inherited from
ByteOrder
def max(x: Byte, y: Byte): Byte

If x > y, return x, else return y.

If x > y, return x, else return y.

Inherited from
Order
def min(x: Byte, y: Byte): Byte

If x < y, return x, else return y.

If x < y, return x, else return y.

Inherited from
Order
def minus(x: Byte, y: Byte): Byte
Inherited from
AdditiveGroup
override
def multiplicative: CommutativeMonoid[Byte]
Definition Classes
MultiplicativeCommutativeMonoid -> MultiplicativeCommutativeSemigroup -> MultiplicativeMonoid -> MultiplicativeSemigroup
Inherited from
MultiplicativeCommutativeMonoid
def negate(x: Byte): Byte
Inherited from
AdditiveGroup
override
def neqv(x: Byte, y: Byte): Boolean
Definition Classes
ByteOrder -> Order -> Eq
Inherited from
ByteOrder
def one: Byte
Inherited from
MultiplicativeMonoid
def partialCompare(x: Byte, y: Byte): Double
Inherited from
Order
def partialComparison(x: Byte, y: Byte): Option[Comparison]

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Inherited from
PartialOrder
def plus(x: Byte, y: Byte): Byte
Inherited from
AdditiveSemigroup
def pmax(x: Byte, y: Byte): Option[Byte]

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.

Inherited from
PartialOrder
def pmin(x: Byte, y: Byte): Option[Byte]

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.

Inherited from
PartialOrder
override
def pow(a: Byte, n: Int): Byte
Definition Classes
MultiplicativeMonoid -> MultiplicativeSemigroup
Inherited from
MultiplicativeMonoid
def product(as: IterableOnce[Byte]): Byte

Given a sequence of as, compute the product.

Given a sequence of as, compute the product.

Inherited from
MultiplicativeMonoid
def round(a: Byte): Byte
Inherited from
IsIntegral
def sign(a: Byte): 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.

Inherited from
Signed
override
def signum(a: Byte): Int
Definition Classes
Inherited from
ByteSigned
def sum(as: IterableOnce[Byte]): Byte

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from
AdditiveMonoid
override
def sumN(a: Byte, n: Int): Byte
Definition Classes
AdditiveGroup -> AdditiveMonoid -> AdditiveSemigroup
Inherited from
AdditiveGroup
def times(x: Byte, y: Byte): Byte
Inherited from
MultiplicativeSemigroup
def tmod(x: Byte, y: Byte): Byte
Inherited from
ByteTruncatedDivision
def toAlgebraic(a: Byte): Algebraic
Inherited from
IsRational
def toBigIntOpt(x: Byte): Opt[BigInt]
Inherited from
ByteTruncatedDivision
def toOrdering: Ordering[Byte]

Convert a Order[A] to a scala.math.Ordering[A] instance.

Convert a Order[A] to a scala.math.Ordering[A] instance.

Inherited from
Order
def toRational(a: Byte): Rational
Inherited from
IsIntegral
def toReal(a: Byte): Real
Inherited from
IsAlgebraic
def tquot(x: Byte, y: Byte): Byte
Inherited from
ByteTruncatedDivision
def tquotmod(x: Byte, y: Byte): (Byte, Byte)
Inherited from
TruncatedDivision
def tryCompare(x: Byte, y: Byte): Option[Int]

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:

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
Inherited from
PartialOrder
override
def tryProduct(as: IterableOnce[Byte]): Option[Byte]
Definition Classes
MultiplicativeMonoid -> MultiplicativeSemigroup
Inherited from
MultiplicativeMonoid
override
def trySum(as: IterableOnce[Byte]): Option[Byte]
Definition Classes
AdditiveMonoid -> AdditiveSemigroup
Inherited from
AdditiveMonoid
def zero: Byte
Inherited from
AdditiveMonoid