Format cleanup
This commit is contained in:
parent
36835216f5
commit
e61edd0db9
13 changed files with 52 additions and 52 deletions
|
@ -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];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue