diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/README.md b/lib/node_modules/@stdlib/stats/incr/nanmminabs/README.md
new file mode 100644
index 000000000000..25ac9c33b694
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/README.md
@@ -0,0 +1,148 @@
+
+
+# incrnanmminabs
+
+> Compute a moving minimum absolute value incrementally, ignoring NaN values.
+
+
+
+## Usage
+
+```javascript
+var incrnanmminabs = require( '@stdlib/stats/incr/nanmminabs' );
+```
+
+#### incrnanmminabs( window )
+
+Returns an accumulator `function` which incrementally computes a moving minimum absolute value. The `window` parameter defines the number of values over which to compute the moving minimum absolute value, ignoring NaN values.
+
+```javascript
+var accumulator = incrnanmminabs( 3 );
+```
+
+#### accumulator( \[x] )
+
+If provided an input value `x`, the accumulator function returns an updated minimum absolute value. If not provided an input value `x`, the accumulator function returns the current minimum absolute value.
+
+```javascript
+var accumulator = incrnanmminabs( 3 );
+
+var m = accumulator();
+// returns null
+
+// Fill the window...
+m = accumulator( 2.0 ); // [2.0]
+// returns 2.0
+
+m = accumulator( 1.0 ); // [2.0, 1.0]
+// returns 1.0
+
+m = accumulator( 3.0 ); // [2.0, 1.0, 3.0]
+// returns 1.0
+
+// Window begins sliding...
+m = accumulator( -7.0 ); // [1.0, 3.0, -7.0]
+// returns 1.0
+
+m = accumulator( -5.0 ); // [3.0, -7.0, -5.0]
+// returns 3.0
+
+m = accumulator();
+// returns 3.0
+```
+
+
+
+
+
+
+
+## Notes
+
+- Input values are **not** type checked. If non-numeric inputs are possible, you are advised to type check and handle accordingly **before** passing the value to the accumulator function.
+- As `W` values are needed to fill the window buffer, the first `W-1` returned values are calculated from smaller sample sizes. Until the window is full, each returned value is calculated from all provided values.
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var randu = require( '@stdlib/random/base/randu' );
+var incrnanmminabs = require( '@stdlib/stats/incr/nanmminabs' );
+
+var accumulator;
+var v;
+var i;
+
+// Initialize an accumulator:
+accumulator = incrnanmminabs( 5 );
+
+// For each simulated datum, update the moving minimum absolute value...
+for ( i = 0; i < 100; i++ ) {
+ v = ( randu()*100.0 ) - 50.0;
+ accumulator( v );
+}
+console.log( accumulator() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[@stdlib/stats/incr/minabs]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/minabs
+
+[@stdlib/stats/incr/mmaxabs]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mmaxabs
+
+[@stdlib/stats/incr/mmin]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mmin
+
+
+
+
+
+
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/incr/nanmminabs/benchmark/benchmark.js
new file mode 100644
index 000000000000..6d019c28e71c
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/benchmark/benchmark.js
@@ -0,0 +1,69 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var randu = require( '@stdlib/random/base/randu' );
+var pkg = require( './../package.json' ).name;
+var incrnanmminabs = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var f;
+ var i;
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ f = incrnanmminabs( (i%5)+1 );
+ if ( typeof f !== 'function' ) {
+ b.fail( 'should return a function' );
+ }
+ }
+ b.toc();
+ if ( typeof f !== 'function' ) {
+ b.fail( 'should return a function' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::accumulator', function benchmark( b ) {
+ var acc;
+ var v;
+ var i;
+
+ acc = incrnanmminabs( 5 );
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = acc( randu()-0.5 );
+ if ( v !== v ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( v !== v ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/repl.txt b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/repl.txt
new file mode 100644
index 000000000000..3064b2a90db0
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/repl.txt
@@ -0,0 +1,44 @@
+
+{{alias}}( W )
+ Returns an accumulator function which incrementally computes a moving
+ minimum absolute value, ignoring `NaN` values.
+
+ The `W` parameter defines the number of values over which to compute the
+ moving minimum absolute value.
+
+ If provided a value, the accumulator function returns an updated moving
+ minimum absolute value. If not provided a value, the accumulator function
+ returns the current moving minimum absolute value.
+
+ As `W` values are needed to fill the window buffer, the first `W-1` returned
+ values are calculated from smaller sample sizes. Until the window is full,
+ each returned value is calculated from all provided values.
+
+ Parameters
+ ----------
+ W: integer
+ Window size.
+
+ Returns
+ -------
+ acc: Function
+ Accumulator function.
+
+ Examples
+ --------
+ > var accumulator = {{alias}}( 3 );
+ > var m = accumulator()
+ null
+ > m = accumulator( 2.0 )
+ 2.0
+ > m = accumulator( -5.0 )
+ 2.0
+ > m = accumulator( 3.0 )
+ 2.0
+ > m = accumulator( 5.0 )
+ 3.0
+ > m = accumulator()
+ 3.0
+
+ See Also
+ --------
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/index.d.ts
new file mode 100644
index 000000000000..9033de106025
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/index.d.ts
@@ -0,0 +1,69 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+/**
+* If provided a value, returns an updated minimum absolute value; otherwise, returns the current minimum absolute value.
+*
+* @param x - value
+* @returns minimum absolute value
+*/
+type accumulator = ( x?: number ) => number | null;
+
+/**
+* Returns an accumulator function which incrementally computes a moving minimum absolute value, ignoring `NaN` values.
+*
+* ## Notes
+*
+* - The `W` parameter defines the number of values over which to compute the moving minimum absolute value.
+* - As `W` values are needed to fill the window buffer, the first `W-1` returned values are calculated from smaller sample sizes. Until the window is full, each returned value is calculated from all provided values.
+*
+* @param W - window size
+* @throws must provide a positive integer
+* @returns accumulator function
+*
+* @example
+* var accumulator = incrnanmminabs( 3 );
+*
+* var m = accumulator();
+* // returns null
+*
+* m = accumulator( 2.0 );
+* // returns 2.0
+*
+* m = accumulator( -5.0 );
+* // returns 2.0
+*
+* m = accumulator( 3.0 );
+* // returns 2.0
+*
+* m = accumulator( 5.0 );
+* // returns 3.0
+*
+* m = accumulator();
+* // returns 3.0
+*/
+declare function incrnanmminabs( W: number ): accumulator;
+
+
+// EXPORTS //
+
+export = incrnanmminabs;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/test.ts b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/test.ts
new file mode 100644
index 000000000000..518c6a31faf5
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/docs/types/test.ts
@@ -0,0 +1,66 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import incrnanmminabs = require( './index' );
+
+
+// TESTS //
+
+// The function returns an accumulator function...
+{
+ incrnanmminabs( 3 ); // $ExpectType accumulator
+}
+
+// The compiler throws an error if the function is provided an argument which is not a number...
+{
+ incrnanmminabs( '5' ); // $ExpectError
+ incrnanmminabs( true ); // $ExpectError
+ incrnanmminabs( false ); // $ExpectError
+ incrnanmminabs( null ); // $ExpectError
+ incrnanmminabs( undefined ); // $ExpectError
+ incrnanmminabs( [] ); // $ExpectError
+ incrnanmminabs( {} ); // $ExpectError
+ incrnanmminabs( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an invalid number of arguments...
+{
+ incrnanmminabs(); // $ExpectError
+ incrnanmminabs( 2, 3 ); // $ExpectError
+}
+
+// The function returns an accumulator function which returns an accumulated result...
+{
+ const acc = incrnanmminabs( 3 );
+
+ acc(); // $ExpectType number | null
+ acc( 3.14 ); // $ExpectType number | null
+}
+
+// The compiler throws an error if the returned accumulator function is provided invalid arguments...
+{
+ const acc = incrnanmminabs( 3 );
+
+ acc( '5' ); // $ExpectError
+ acc( true ); // $ExpectError
+ acc( false ); // $ExpectError
+ acc( null ); // $ExpectError
+ acc( [] ); // $ExpectError
+ acc( {} ); // $ExpectError
+ acc( ( x: number ): number => x ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/examples/index.js b/lib/node_modules/@stdlib/stats/incr/nanmminabs/examples/index.js
new file mode 100644
index 000000000000..efbfd5943ae2
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/examples/index.js
@@ -0,0 +1,42 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var randu = require( '@stdlib/random/base/randu' );
+var incrnanmminabs = require( './../lib' );
+
+var accumulator;
+var m;
+var v;
+var i;
+
+// Initialize an accumulator:
+accumulator = incrnanmminabs( 5 );
+
+// For each simulated datum, update the moving minimum absolute value...
+console.log( '\nValue\tMinAbs\n' );
+for ( i = 0; i < 100; i++ ) {
+ if (randu() < 0.2) {
+ v = NaN;
+ } else {
+ v = ( randu()*100.0 ) - 50.0;
+ }
+ m = accumulator( v );
+ console.log( '%d\t%d', v.toFixed( 3 ), (m === null) ? NaN : m.toFixed( 3 ) );
+}
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/index.js b/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/index.js
new file mode 100644
index 000000000000..edf1441d1ebd
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/index.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Compute a moving minimum absolute value incrementally, ignoring `NaN` values.
+*
+* @module @stdlib/stats/incr/nanmminabs
+*
+* @example
+* var incrnanmminabs = require( '@stdlib/stats/incr/nanmminabs' );
+*
+* var accumulator = incrnanmminabs( 3 );
+*
+* var m = accumulator();
+* // returns null
+*
+* m = accumulator( 2.0 );
+* // returns 2.0
+*
+* m = accumulator( -5.0 );
+* // returns 2.0
+*
+* m = accumulator( 3.0 );
+* // returns 2.0
+*
+* m = accumulator( 5.0 );
+* // returns 3.0
+*
+* m = accumulator();
+* // returns 3.0
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/main.js b/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/main.js
new file mode 100644
index 000000000000..29dd1542405d
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/lib/main.js
@@ -0,0 +1,79 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var incrmminabs = require( '@stdlib/stats/incr/mminabs' );
+
+
+// MAIN //
+
+/**
+* Returns an accumulator function which incrementally computes a moving minimum absolute value, ignoring `NaN` values.
+*
+* @param {PositiveInteger} W - window size
+* @throws {TypeError} must provide a positive integer
+* @returns {Function} accumulator function
+*
+* @example
+* var accumulator = incrnanmminabs( 3 );
+*
+* var m = accumulator();
+* // returns null
+*
+* m = accumulator( 2.0 );
+* // returns 2.0
+*
+* m = accumulator( -5.0 );
+* // returns 2.0
+*
+* m = accumulator( 3.0 );
+* // returns 2.0
+*
+* m = accumulator( 5.0 );
+* // returns 3.0
+*
+* m = accumulator();
+* // returns 3.0
+*/
+function incrnanmminabs( W ) {
+ var mminabs = incrmminabs( W );
+ return accumulator;
+
+ /**
+ * If provided a value, the accumulator function returns an updated minimum absolute value. If not provided a value, the accumulator function returns the current minimum absolute value.
+ *
+ * @private
+ * @param {number} [x] - input value
+ * @returns {(number|null)} minimum absolute value or null
+ */
+ function accumulator( x ) {
+ if ( arguments.length === 0 || isnan(x) ) {
+ return mminabs();
+ }
+ return mminabs( x );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = incrnanmminabs;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/package.json b/lib/node_modules/@stdlib/stats/incr/nanmminabs/package.json
new file mode 100644
index 000000000000..537166f585d8
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/package.json
@@ -0,0 +1,74 @@
+{
+ "name": "@stdlib/stats/incr/nanmminabs",
+ "version": "0.0.0",
+ "description": "Compute a moving minimum absolute value incrementally, ignoring NaN values.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "stdmath",
+ "statistics",
+ "stats",
+ "mathematics",
+ "math",
+ "minimum",
+ "min",
+ "absolute",
+ "abs",
+ "magnitude",
+ "extreme",
+ "extent",
+ "range",
+ "incremental",
+ "accumulator",
+ "moving min",
+ "sliding window",
+ "sliding",
+ "window",
+ "moving"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/stats/incr/nanmminabs/test/test.js b/lib/node_modules/@stdlib/stats/incr/nanmminabs/test/test.js
new file mode 100644
index 000000000000..bf1f47a35a56
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanmminabs/test/test.js
@@ -0,0 +1,222 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' );
+var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' );
+var incrnanmminabs = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof incrnanmminabs, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function throws an error if not provided a positive integer', function test( t ) {
+ var values;
+ var i;
+
+ values = [
+ '5',
+ -5.0,
+ 0.0,
+ 3.14,
+ true,
+ false,
+ null,
+ void 0,
+ NaN,
+ [],
+ {},
+ function noop() {}
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ incrnanmminabs( value );
+ };
+ }
+});
+
+tape( 'the function returns an accumulator function', function test( t ) {
+ t.strictEqual( typeof incrnanmminabs( 3 ), 'function', 'returns expected value' );
+ t.end();
+});
+
+tape( 'the accumulator function computes a moving minimum absolute value incrementally', function test( t ) {
+ var expected;
+ var actual;
+ var data;
+ var acc;
+ var N;
+ var i;
+
+ data = [ 2.0, -3.0, 2.0, -4.0, 3.0, 4.0, -2.0, 2.0, -2.0, 1.0 ];
+ N = data.length;
+
+ acc = incrnanmminabs( 3 );
+
+ actual = [];
+ for ( i = 0; i < N; i++ ) {
+ actual.push( acc( data[ i ] ) );
+ }
+ expected = [ 2.0, 2.0, 2.0, 2.0, 2.0, 3.0, 2.0, 2.0, 2.0, 1.0 ];
+
+ t.deepEqual( actual, expected, 'returns expected incremental results' );
+ t.end();
+});
+
+tape( 'if not provided an input value, the accumulator function returns the current minimum absolute value', function test( t ) {
+ var data;
+ var acc;
+ var i;
+
+ data = [ 2.0, -3.0, -5.0, 4.0 ];
+ acc = incrnanmminabs( 2 );
+ for ( i = 0; i < data.length; i++ ) {
+ acc( data[ i ] );
+ }
+ t.strictEqual( acc(), 4.0, 'returns expected value' );
+ t.end();
+});
+
+tape( 'if data has yet to be provided, the accumulator function returns `null`', function test( t ) {
+ var acc = incrnanmminabs( 3 );
+ t.strictEqual( acc(), null, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the accumulator function correctly handles signed zeros', function test( t ) {
+ var expected;
+ var data;
+ var acc;
+ var v;
+ var i;
+
+ acc = incrnanmminabs( 3 );
+
+ data = [
+ -0.0, // -0
+ 0.0, // -0, 0
+ -0.0, // -0, 0, -0
+ -0.0, // 0, -0, -0
+ -0.0, // -0, -0, -0
+ 0.0, // -0, -0, 0
+ -0.0, // -0, 0, -0
+ -0.0, // 0, -0, -0
+ -0.0, // -0, -0, -0
+ 0.0, // -0, -0, 0
+ 0.0, // -0, 0, 0
+ 0.0, // 0, 0, 0
+ -0.0 // 0, 0, -0
+ ];
+ expected = [
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ];
+ for ( i = 0; i < data.length; i++ ) {
+ v = acc( data[ i ] );
+ if ( isPositiveZero( expected[ i ] ) ) {
+ t.strictEqual( isPositiveZero( v ), true, 'returns expected value for window '+i );
+ } else {
+ t.strictEqual( isNegativeZero( v ), true, 'returns expected value for window '+i );
+ }
+ }
+ t.end();
+});
+
+tape( 'if provided `NaN`, the accumulator function still returns the current minimum absolute value', function test( t ) {
+ var expected;
+ var data;
+ var acc;
+ var v;
+ var i;
+
+ acc = incrnanmminabs( 3 );
+
+ data = [
+ NaN, // NaN
+ 3.14, // NaN, 3.14
+ 3.14, // NaN, 3.14, 3.14
+ NaN, // 3.14, 3.14, NaN
+ 3.14, // 3.14, NaN, 3.14
+ 3.14, // NaN, 3.14, 3.14
+ 3.14, // 3.14, 3.14, 3.14
+ NaN, // 3.14, 3.14, NaN
+ 3.14, // 3.14, NaN, 3.14
+ 3.14, // NaN, 3.14, 3.14
+ 3.14, // 3.14, 3.14, 3.14
+ NaN, // 3.14, 3.14, NaN
+ 3.14, // 3.14, NaN, 3.14
+ 3.14, // NaN, 3.14, 3.14
+ NaN, // 3.14, 3.14, NaN
+ NaN, // 3.14, NaN, NaN
+ NaN, // NaN, NaN, NaN
+ NaN, // NaN, NaN, NaN
+ 3.14 // NaN, NaN, 3.14
+ ];
+ expected = [
+ null,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14,
+ 3.14
+ ];
+ for ( i = 0; i < data.length; i++ ) {
+ v = acc( data[ i ] );
+ t.strictEqual( v, expected[ i ], 'returns expected value for window '+i );
+ }
+ t.end();
+});