Contains the implicit classes used to provide the .I methods to create intervals from the standard numberic types.
Contains the implicit classes used to provide the .I methods to create intervals from the standard numberic types.
val x = 7.I val y = 7.5.I(4.BP)
Creates an Interval zero that supports the given range Useful for creating a Interval register that has a desired number of bits
Creates an Interval zero that supports the given range Useful for creating a Interval register that has a desired number of bits
val myRegister = RegInit(Interval.Zero(r"[0,12]")
Creates a Interval connected to a Interval literal with the value zero
Create an Interval type with specified range.
Create an Interval type with specified range.
defines the properties
Create an Interval type with specified width and binary point
Create an Interval type with specified width.
Create an Interval type with specified width.
Create an Interval type with inferred width and binary point.
Create an Interval literal with inferred width from Double.
Create an Interval literal with inferred width from Double. Use PrivateObject to force users to specify width and binaryPoint by name
Make an interval from this BigInt, the BigInt is treated as bits So lower binaryPoint number of bits will treated as mantissa
Create an Interval literal with inferred width from Double.
Create an Interval literal with inferred width from Double. Use PrivateObject to force users to specify width and binaryPoint by name
This returns the largest Interval literal that can legally fit in range, if possible If the upper bound or binary point is not known then return None
This returns the largest Interval literal that can legally fit in range, if possible If the upper bound or binary point is not known then return None
use to figure low number
This returns the smallest Interval literal that can legally fit in range, if possible If the lower bound or binary point is not known then return None
This returns the smallest Interval literal that can legally fit in range, if possible If the lower bound or binary point is not known then return None
use to figure low number
converts a bigInt with the given binaryPoint into the BigDecimal representation
converts a bigInt with the given binaryPoint into the BigDecimal representation
a bigint
the implied binaryPoint of @i
converts a bigInt with the given binaryPoint into the BigDecimal representation
converts a bigInt with the given binaryPoint into the BigDecimal representation
a bigint
the implied binaryPoint of @i
How to create a bigint from a big decimal with a specific binaryPoint
How to create a bigint from a big decimal with a specific binaryPoint
a BigDecimal value
a binaryPoint that you would like to use
How to create a bigint from a big decimal with a specific binaryPoint (int)
How to create a bigint from a big decimal with a specific binaryPoint (int)
a BigDecimal value
a binaryPoint that you would like to use
How to create a bigint from a big decimal with a specific binaryPoint
How to create a bigint from a big decimal with a specific binaryPoint
a BigDecimal value
a binaryPoint that you would like to use
How to create a bigint from a double with a specific binaryPoint
How to create a bigint from a double with a specific binaryPoint
a double value
a binaryPoint that you would like to use
converts a bigInt with the given binaryPoint into the double representation
converts a bigInt with the given binaryPoint into the double representation
a bigint
the implied binaryPoint of @i
converts a bigInt with the given binaryPoint into the double representation
converts a bigInt with the given binaryPoint into the double representation
a bigint
the implied binaryPoint of @i
Factory and convenience methods for the Interval class IMPORTANT: The API provided here is experimental and may change in the future.