Comparing version 1.0.0-alpha4 to 1.0.0-alpha5
@@ -50,3 +50,3 @@ 'use strict'; | ||
const carry = ((selfSign & otherSign) | | ||
((~sumSign) & (selfSign ^ otherSign))) & 1; | ||
(~sumSign & (selfSign ^ otherSign))) & 1; | ||
@@ -71,4 +71,4 @@ this.hi = (((selfHi + otherHi) | 0) + carry) | 0; | ||
const selfPositive = (~selfSign) & (~((~selfLo) & (selfLo - 1)) >> 31); | ||
const otherPositive = (~otherSign) & (~((~otherLo) & (otherLo - 1)) >> 31); | ||
const selfPositive = ~selfSign & (~(~selfLo & (selfLo - 1)) >> 31); | ||
const otherPositive = ~otherSign & (~(~otherLo & (otherLo - 1)) >> 31); | ||
@@ -75,0 +75,0 @@ // If both negative |
{ | ||
"name": "awesome64", | ||
"version": "1.0.0-alpha4", | ||
"version": "1.0.0-alpha5", | ||
"description": "Awesome Int64 num implementation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9629