From 18be97a1030e77e8a8e291f67214fd8b90f8bf63 Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Wed, 17 Jan 2024 03:20:45 +0000 Subject: [PATCH] Update artifacts --- complex/base/assert/coverage.ndjson | 1 + complex/base/assert/index.html | 10 +- complex/base/assert/index.js.html | 35 ++- .../assert/is-same-value-zero/coverage.ndjson | 1 + .../base/assert/is-same-value-zero/index.html | 131 +++++++++ .../assert/is-same-value-zero/index.js.html | 217 ++++++++++++++ .../assert/is-same-value-zero/main.js.html | 268 ++++++++++++++++++ .../base/assert/is-same-value/coverage.ndjson | 1 + complex/base/assert/is-same-value/index.html | 2 +- .../base/assert/is-same-value/index.js.html | 2 +- .../base/assert/is-same-value/main.js.html | 2 +- .../assert/is-same-valuef/coverage.ndjson | 1 + complex/base/assert/is-same-valuef/index.html | 2 +- .../base/assert/is-same-valuef/index.js.html | 2 +- .../base/assert/is-same-valuef/main.js.html | 2 +- 15 files changed, 662 insertions(+), 15 deletions(-) create mode 100644 complex/base/assert/is-same-value-zero/coverage.ndjson create mode 100644 complex/base/assert/is-same-value-zero/index.html create mode 100644 complex/base/assert/is-same-value-zero/index.js.html create mode 100644 complex/base/assert/is-same-value-zero/main.js.html diff --git a/complex/base/assert/coverage.ndjson b/complex/base/assert/coverage.ndjson index ee6f31eca..67f4608ba 100644 --- a/complex/base/assert/coverage.ndjson +++ b/complex/base/assert/coverage.ndjson @@ -3,3 +3,4 @@ [87,87,100,1,1,100,0,0,100,87,87,100,"f6ff2c14adc722b42e6a548835b1f7a3e8ca6de9","2024-01-16 15:32:36 -0800"] [87,87,100,1,1,100,0,0,100,87,87,100,"e2a8c3495ec4dc5cc1d7b56535f0e30555519d86","2024-01-16 16:33:59 -0800"] [96,96,100,1,1,100,0,0,100,96,96,100,"bb1ec6e76a828f09c412b7ae32118a530495622f","2024-01-16 18:40:41 -0800"] +[105,105,100,1,1,100,0,0,100,105,105,100,"7edde5e9f4126c2d11021323cfbf501219f32c00","2024-01-16 19:18:29 -0800"] diff --git a/complex/base/assert/index.html b/complex/base/assert/index.html index 5d1247f5c..0549446aa 100644 --- a/complex/base/assert/index.html +++ b/complex/base/assert/index.html @@ -25,7 +25,7 @@

All files complex/base/assert/lib

100% Statements - 96/96 + 105/105
@@ -46,7 +46,7 @@

All files complex/base/assert/lib

100% Lines - 96/96 + 105/105
@@ -84,13 +84,13 @@

All files complex/base/assert/lib

100% - 96/96 + 105/105 100% 1/1 100% 0/0 100% - 96/96 + 105/105 @@ -101,7 +101,7 @@

All files complex/base/assert/lib

+ + + + + + \ No newline at end of file diff --git a/complex/base/assert/is-same-value-zero/index.js.html b/complex/base/assert/is-same-value-zero/index.js.html new file mode 100644 index 000000000..4c1efc4d6 --- /dev/null +++ b/complex/base/assert/is-same-value-zero/index.js.html @@ -0,0 +1,217 @@ + + + + + + Code coverage report for complex/base/assert/is-same-value-zero/lib/index.js + + + + + + + + + +
+
+

All files / complex/base/assert/is-same-value-zero/lib index.js

+
+ +
+ 100% + Statements + 44/44 +
+ + +
+ 100% + Branches + 1/1 +
+ + +
+ 100% + Functions + 0/0 +
+ + +
+ 100% + Lines + 44/44 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +451x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2024 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';
+ 
+/**
+* Test whether two double-precision complex floating-point numbers are the same value.
+*
+* @module @stdlib/complex/base/assert/is-same-value-zero
+*
+* @example
+* var Complex128 = require( '@stdlib/complex/float64' );
+* var isSameValueZero = require( '@stdlib/complex/base/assert/is-same-value-zero' );
+*
+* var z1 = new Complex128( 5.0, 3.0 );
+* var z2 = new Complex128( 5.0, 3.0 );
+*
+* var v = isSameValueZero( z1, z2 );
+* // returns true
+*/
+ 
+// MODULES //
+ 
+var main = require( './main.js' );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = main;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/complex/base/assert/is-same-value-zero/main.js.html b/complex/base/assert/is-same-value-zero/main.js.html new file mode 100644 index 000000000..7ec5a36f4 --- /dev/null +++ b/complex/base/assert/is-same-value-zero/main.js.html @@ -0,0 +1,268 @@ + + + + + + Code coverage report for complex/base/assert/is-same-value-zero/lib/main.js + + + + + + + + + +
+
+

All files / complex/base/assert/is-same-value-zero/lib main.js

+
+ +
+ 100% + Statements + 61/61 +
+ + +
+ 100% + Branches + 3/3 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 61/61 +
+ + +
+

+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +

+ +
+
+

+
1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +621x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +1x +24x +24x +24x +24x +24x +18x +24x +24x +1x +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2024 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 isSame = require( '@stdlib/number/float64/base/assert/is-same-value-zero' );
+var reim = require( '@stdlib/complex/reim' );
+ 
+ 
+// MAIN //
+ 
+/**
+* Tests whether two double-precision complex floating-point numbers are the same value.
+*
+* ## Notes
+*
+* -   In contrast to the strict equality operator `===`, `NaNs` are treated as the same value.
+*
+* @param {Complex128} z1 - first complex number
+* @param {Complex128} z2 - second complex number
+* @returns {boolean} result
+*
+* @example
+* var Complex128 = require( '@stdlib/complex/float64' );
+*
+* var z1 = new Complex128( 5.0, 3.0 );
+* var z2 = new Complex128( 5.0, 3.0 );
+*
+* var v = isSameValueZero( z1, z2 );
+* // returns true
+*/
+function isSameValueZero( z1, z2 ) {
+	var parts1 = reim( z1 );
+	var parts2 = reim( z2 );
+	return (
+		isSame( parts1[ 0 ], parts2[ 0 ] ) &&
+		isSame( parts1[ 1 ], parts2[ 1 ] )
+	);
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = isSameValueZero;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/complex/base/assert/is-same-value/coverage.ndjson b/complex/base/assert/is-same-value/coverage.ndjson index 835c25d20..cb9ffe7a7 100644 --- a/complex/base/assert/is-same-value/coverage.ndjson +++ b/complex/base/assert/is-same-value/coverage.ndjson @@ -2,3 +2,4 @@ [108,108,100,4,4,100,1,1,100,108,108,100,"07e2d747623f859101c8542655e76a61e8f742f2","2024-01-16 16:16:43 -0800"] [108,108,100,4,4,100,1,1,100,108,108,100,"12f0c7e26b231f785b1bc640691b0aa70243b673","2024-01-16 18:31:36 -0800"] [108,108,100,4,4,100,1,1,100,108,108,100,"bb1ec6e76a828f09c412b7ae32118a530495622f","2024-01-16 18:40:41 -0800"] +[108,108,100,4,4,100,1,1,100,108,108,100,"7edde5e9f4126c2d11021323cfbf501219f32c00","2024-01-16 19:18:29 -0800"] diff --git a/complex/base/assert/is-same-value/index.html b/complex/base/assert/is-same-value/index.html index c1357af0e..5b55e9a95 100644 --- a/complex/base/assert/is-same-value/index.html +++ b/complex/base/assert/is-same-value/index.html @@ -116,7 +116,7 @@

All files complex/base/assert/is-sam