You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should definitely support any type bit<W> for W ranging from 1 up to some implementation-dependent maximum width.
While there might some small convenience in supporting types int<W>, if an implementation did not support that, it would not be difficult to take a random value of type bit<W> and cast it to int<W>, perhaps performing an addition or subtracting on it to get it in the desired range.
The text was updated successfully, but these errors were encountered:
It should definitely support any type
bit<W>
for W ranging from 1 up to some implementation-dependent maximum width.While there might some small convenience in supporting types
int<W>
, if an implementation did not support that, it would not be difficult to take a random value of typebit<W>
and cast it toint<W>
, perhaps performing an addition or subtracting on it to get it in the desired range.The text was updated successfully, but these errors were encountered: