Format cleanup

This commit is contained in:
be5invis 2022-07-17 00:31:02 -07:00
parent 36835216f5
commit e61edd0db9
13 changed files with 52 additions and 52 deletions

View file

@ -5,6 +5,6 @@ export function maskBit(x, y) {
export function maskBits(x, y) {
return x & y;
}
export const popCountByte = function (x) {
export function popCountByte(x) {
return pcNibbleLookup[x & 0x0f] + pcNibbleLookup[(x >>> 4) & 0x0f];
};
}

View file

@ -1,4 +1,4 @@
export const monotonicInterpolate = function (xs, ys) {
export function monotonicInterpolate(xs, ys) {
let i,
length = xs.length;
// Deal with length issues
@ -101,4 +101,4 @@ export const monotonicInterpolate = function (xs, ys) {
diffSq = diff * diff;
return ys[i] + c1s[i] * diff + c2s[i] * diffSq + c3s[i] * diff * diffSq;
};
};
}