2016-01-14 02:17:20 +03:00

7 lines
95 B
JavaScript

const log2 = Math.log2
? Math.log2
: (x) => Math.log(x) / Math.LN2;
export default log2;