참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
value to a twos-compliment representation of width bits.
The result will always be positive.
Parameters
Returns
bigint
The value.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function toTwos(_value, _width): bigint
value to a twos-compliment representation of width bits.
The result will always be positive.
| Parameter | Type | Description |
|---|---|---|
_value | BigNumberish | The value to convert. |
_width | Numeric | The width of the value in bits. |
bigint
The value.
