Skip to content

Commit

Permalink
📚 docs(mul64): Remove old comment and document functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Dec 6, 2020
1 parent 4666ed4 commit 00c5497
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/mul64.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import {add64} from './add64';

// TODO finish need function that multiplies two 32 bit values to 64 bit
/**
* Multiplies two uint32 into one uint64.
*/
const mul3264 = (a, b) => {
const a0 = (a >>> 16) & 0xFFFF;
const a1 = a & 0xFFFF;
Expand All @@ -15,6 +17,9 @@ const mul3264 = (a, b) => {
return add64(x,add64(y,z));
};

/**
* Multiplies two uint64 into one uint64.
*/
export function mul64 (a, b) {

const [a0, a1] = a;
Expand Down

0 comments on commit 00c5497

Please sign in to comment.