注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。
value from a twos-compliment representation of width bits to its value.
If the highest bit is 1, the result will be negative.
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 fromTwos(_value, _width): bigint
value from a twos-compliment representation of width bits to its value.
If the highest bit is 1, the result will be negative.
| Parameter | Type | Description |
|---|---|---|
_value | BigNumberish | The value to convert. |
_width | Numeric | The width of the value in bits. |
bigint
The value.
