ParamInt Type
The type a parameter expression computes in. bigint, not int, because the values parameters feed are bigint everywhere else in Issie: a constant, a bus comparison value and an input's default value are all `bigint` in ComponentType, and a bus may be up to NumberHelpers.Constants.maxIssieBusWidth bits wide. Evaluating in int meant a wide input's default could not be range-checked at all, and a literal larger than Int32.MaxValue parsed as a parameter name made of digits. The narrowing back to int happens once, at the slot: see tryIntOfParamInt.
Instance members
| Instance member | Description |
Full Usage:
this.IsEven
Returns: bool
|
|
Full Usage:
this.IsOne
Returns: bool
|
|
Full Usage:
this.IsPowerOfTwo
Returns: bool
|
|
Full Usage:
this.IsZero
Returns: bool
|
|
Full Usage:
this.Sign
Returns: int
|
|
Static members
| Static member | Description |
|
|
|
|
|
|