Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fft.js

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fft.js - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

12

lib/fft.js

@@ -31,7 +31,8 @@ 'use strict';

this._bitrev = new Array(1 << this._width);
this._bitrev.fill(0);
for (var shift = 0; shift < this._width; shift += 2) {
var revShift = this._width - shift - 2;
for (let j = 0; j < this._bitrev.length; j++)
for (var j = 0; j < this._bitrev.length; j++) {
this._bitrev[j] = 0;
for (var shift = 0; shift < this._width; shift += 2) {
var revShift = this._width - shift - 2;
this._bitrev[j] |= ((j >>> shift) & 3) << revShift;
}
}

@@ -54,3 +55,4 @@

const res = new Array(this._csize);
res.fill(0);
for (var i = 0; i < res.length; i++)
res[i] = 0;
return res;

@@ -57,0 +59,0 @@ };

{
"name": "fft.js",
"version": "4.0.2",
"version": "4.0.3",
"description": "Insanely Fast Fourier Transform (radix-4)",

@@ -5,0 +5,0 @@ "main": "lib/fft.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc