fix(napi): BigInt::get_u64 lossless check (#1348)
This commit is contained in:
parent
a12bdc4359
commit
77060adb3d
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ impl BigInt {
|
|||
(
|
||||
self.sign_bit,
|
||||
self.words[0],
|
||||
self.sign_bit && self.words.len() == 1,
|
||||
!self.sign_bit && self.words.len() == 1,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue