2
0
mirror of synced 2025-02-23 03:28:22 +00:00

Docs: Fixed typo (#1074).

This commit is contained in:
Richard Moore 2020-10-03 02:23:32 -04:00
parent e986b09e58
commit e86f83b9c0
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -122,18 +122,18 @@ Returns a BigNumber with the value of //BigNumber// with bits beyond
the //bitcount// least significant bits set to zero.
_heading: Two's Compliment
_heading: Two's Complement
[Two's Complicment](link-wiki-twoscomplement)
[Two's Complement](link-wiki-twoscomplement)
is an elegant method used to encode and decode fixed-width signed values
while efficiently preserving mathematic operations.
Most users will not need to interact with these.
_property: BigNumber.fromTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
Returns a BigNumber with the value of //BigNumber// converted from twos-compliment with //bitwidth//.
Returns a BigNumber with the value of //BigNumber// converted from twos-complement with //bitwidth//.
_property: BigNumber.toTwos(bitwidth) => [[BigNumber]] @SRC<bignumber>
Returns a BigNumber with the value of //BigNumber// converted to twos-compliment with //bitwidth//.
Returns a BigNumber with the value of //BigNumber// converted to twos-complement with //bitwidth//.
_heading: Comparison and Equivalence