FltPt¶
FltPt[G,E] represents an arbitrary precision, IEEE-754-like representation. FltPt values are always assumed to be signed.
The type parameters for FltPt are:
G | Number of significand bits, including sign bit | (B2 - B64) |
E | Number of exponent bits | (B1 - B64) |
Note that numbers of bits use the B- prefix as integers cannot be used as type parameters in Scala
Type Aliases¶
type | Half | FltPt[B11,B5] | IEEE-754 half precision |
type | Flt | FltPt[B24,B8] | IEEE-754 single precision |
type | Dbl | FltPt[B53,B11] | IEEE-754 double precision |
Infix methods¶
def !=(y: FltPt[G,E]): Bit
def !=(y: Int): Bit
def !=(y: Long): Bit
def !=(y: Float): Bit
def !=(y: Double): Bit
def *(y: FltPt[G,E]): FltPt[G,E]
def *(y: Int): FltPt[G,E]
def *(y: Long): FltPt[G,E]
def *(y: Float): FltPt[G,E]
def *(y: Double): FltPt[G,E]
def **(y: Int): FltPt[G,E]
def +(y: FltPt[G,E]): FltPt[G,E]
def +(y: Int): FltPt[G,E]
def +(y: Long): FltPt[G,E]
def +(y: Float): FltPt[G,E]
def +(y: Double): FltPt[G,E]
def -(y: FltPt[G,E]): FltPt[G,E]
def -(y: Int): FltPt[G,E]
def -(y: Long): FltPt[G,E]
def -(y: Float): FltPt[G,E]
def -(y: Double): FltPt[G,E]
def /(y: FltPt[G,E]): FltPt[G,E]
def /(y: Int): FltPt[G,E]
def /(y: Long): FltPt[G,E]
def /(y: Float): FltPt[G,E]
def /(y: Double): FltPt[G,E]
def <(y: FltPt[G,E]): Bit
def <(y: Int): Bit
def <(y: Long): Bit
def <(y: Float): Bit
def <(y: Double): Bit
def <=(y: FltPt[G,E]): Bit
def <=(y: Int): Bit
def <=(y: Long): Bit
def <=(y: Float): Bit
def <=(y: Double): Bit
def >(y: FltPt[G,E]): Bit
def >(y: Int): Bit
def >(y: Long): Bit
def >(y: Float): Bit
def >(y: Double): Bit
def >=(y: FltPt[G,E]): Bit
def >=(y: Int): Bit
def >=(y: Long): Bit
def >=(y: Float): Bit
def >=(y: Double): Bit
def mkString(): String
def to(): R
def toString(): String
def unary_-(): FltPt[G,E]