Header menu logo issie

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

this.IsEven

Full Usage: this.IsEven

Returns: bool
Returns: bool

this.IsOne

Full Usage: this.IsOne

Returns: bool
Returns: bool

this.IsPowerOfTwo

Full Usage: this.IsPowerOfTwo

Returns: bool
Returns: bool

this.IsZero

Full Usage: this.IsZero

Returns: bool
Returns: bool

this.Sign

Full Usage: this.Sign

Returns: int
Returns: int

Static members

Static member Description

BigInteger.MinusOne

Full Usage: BigInteger.MinusOne

Returns: BigInteger
Returns: BigInteger

BigInteger.One

Full Usage: BigInteger.One

Returns: BigInteger
Returns: BigInteger

BigInteger.Zero

Full Usage: BigInteger.Zero

Returns: BigInteger
Returns: BigInteger

Type something to start searching.