We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b5dd0 commit 8ec689aCopy full SHA for 8ec689a
1 file changed
lib/node_modules/@stdlib/number/float16/base/ulp-difference/lib/main.js
@@ -38,7 +38,7 @@ var abs = require( '@stdlib/math/base/special/abs' );
38
*/
39
function monotoneKey( word ) {
40
if ( word & SIGN_MASK ) { // x < 0
41
- return ( ( ~word + 1 ) &UINT16_MAX ); // two's-complement negation
+ return ( ( ~word + 1 ) & UINT16_MAX ); // two's-complement negation
42
}
43
// x >= 0
44
return ( word | SIGN_MASK ) >>> 0; // push +0 to just above -0
0 commit comments