From c3f81e0615bb0f3dadfa3c98f4cfa1ca0f0101cd Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Wed, 17 Jan 2024 00:20:07 +0000 Subject: [PATCH] Update artifacts --- complex/base/assert/is-equal/coverage.ndjson | 1 + complex/base/assert/is-equal/index.html | 131 ++++++++ complex/base/assert/is-equal/index.js.html | 217 ++++++++++++++ complex/base/assert/is-equal/main.js.html | 253 ++++++++++++++++ complex/base/assert/is-equalf/coverage.ndjson | 1 + complex/base/assert/is-equalf/index.html | 131 ++++++++ complex/base/assert/is-equalf/index.js.html | 217 ++++++++++++++ complex/base/assert/is-equalf/main.js.html | 253 ++++++++++++++++ .../base/assert/is-not-equal/coverage.ndjson | 1 + complex/base/assert/is-not-equal/index.html | 2 +- .../base/assert/is-not-equal/index.js.html | 2 +- complex/base/assert/is-not-equal/main.js.html | 2 +- .../base/assert/is-not-equalf/coverage.ndjson | 1 + complex/base/assert/is-not-equalf/index.html | 2 +- .../base/assert/is-not-equalf/index.js.html | 2 +- .../base/assert/is-not-equalf/main.js.html | 2 +- .../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 +- .../base/assert/is-same-value/coverage.ndjson | 1 + .../base/assert/is-same-value/index.html | 146 +++++++++ .../base/assert/is-same-value/index.js.html | 232 ++++++++++++++ .../base/assert/is-same-value/main.js.html | 283 ++++++++++++++++++ .../base/assert/is-same-value/native.js.html | 265 ++++++++++++++++ number/float64/base/exponent/coverage.ndjson | 1 + number/float64/base/exponent/index.html | 2 +- number/float64/base/exponent/index.js.html | 2 +- number/float64/base/exponent/main.js.html | 22 +- number/float64/base/exponent/native.js.html | 2 +- 30 files changed, 2158 insertions(+), 23 deletions(-) create mode 100644 complex/base/assert/is-equal/coverage.ndjson create mode 100644 complex/base/assert/is-equal/index.html create mode 100644 complex/base/assert/is-equal/index.js.html create mode 100644 complex/base/assert/is-equal/main.js.html create mode 100644 complex/base/assert/is-equalf/coverage.ndjson create mode 100644 complex/base/assert/is-equalf/index.html create mode 100644 complex/base/assert/is-equalf/index.js.html create mode 100644 complex/base/assert/is-equalf/main.js.html create mode 100644 number/float64/base/assert/is-same-value/coverage.ndjson create mode 100644 number/float64/base/assert/is-same-value/index.html create mode 100644 number/float64/base/assert/is-same-value/index.js.html create mode 100644 number/float64/base/assert/is-same-value/main.js.html create mode 100644 number/float64/base/assert/is-same-value/native.js.html diff --git a/complex/base/assert/is-equal/coverage.ndjson b/complex/base/assert/is-equal/coverage.ndjson new file mode 100644 index 0000000000..e865e9d375 --- /dev/null +++ b/complex/base/assert/is-equal/coverage.ndjson @@ -0,0 +1 @@ +[100,100,100,4,4,100,1,1,100,100,100,100,"07e2d747623f859101c8542655e76a61e8f742f2","2024-01-16 16:16:43 -0800"] diff --git a/complex/base/assert/is-equal/index.html b/complex/base/assert/is-equal/index.html new file mode 100644 index 0000000000..7ded1dbb04 --- /dev/null +++ b/complex/base/assert/is-equal/index.html @@ -0,0 +1,131 @@ + + + + +
++ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ ++ 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 | 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 + | /** +* @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 equal. +* +* @module @stdlib/complex/base/assert/is-equal +* +* @example +* var Complex128 = require( '@stdlib/complex/float64' ); +* var isEqual = require( '@stdlib/complex/base/assert/is-equal' ); +* +* var z1 = new Complex128( 5.0, 3.0 ); +* var z2 = new Complex128( 5.0, 3.0 ); +* +* var v = isEqual( z1, z2 ); +* // returns true +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; + |
+ 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 | 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 +20x +20x +20x +20x +20x +11x +20x +20x +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 reim = require( '@stdlib/complex/reim' ); + + +// MAIN // + +/** +* Tests whether two double-precision complex floating-point numbers are equal. +* +* @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 = isEqual( z1, z2 ); +* // returns true +*/ +function isEqual( z1, z2 ) { + var parts1 = reim( z1 ); + var parts2 = reim( z2 ); + return ( + parts1[ 0 ] === parts2[ 0 ] && + parts1[ 1 ] === parts2[ 1 ] + ); +} + + +// EXPORTS // + +module.exports = isEqual; + |
+ Press n or j to go to the next uncovered block, b, p or k for the previous block. +
+ ++ 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 | 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 + | /** +* @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 single-precision complex floating-point numbers are equal. +* +* @module @stdlib/complex/base/assert/is-equalf +* +* @example +* var Complex64 = require( '@stdlib/complex/float32' ); +* var isEqualf = require( '@stdlib/complex/base/assert/is-equalf' ); +* +* var z1 = new Complex64( 5.0, 3.0 ); +* var z2 = new Complex64( 5.0, 3.0 ); +* +* var v = isEqualf( z1, z2 ); +* // returns true +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; + |
+ 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 | 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 +20x +20x +20x +20x +20x +11x +20x +20x +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 reimf = require( '@stdlib/complex/reimf' ); + + +// MAIN // + +/** +* Tests whether two single-precision complex floating-point numbers are equal. +* +* @param {Complex64} z1 - first complex number +* @param {Complex64} z2 - second complex number +* @returns {boolean} result +* +* @example +* var Complex64 = require( '@stdlib/complex/float32' ); +* +* var z1 = new Complex64( 5.0, 3.0 ); +* var z2 = new Complex64( 5.0, 3.0 ); +* +* var v = isEqualf( z1, z2 ); +* // returns true +*/ +function isEqualf( z1, z2 ) { + var parts1 = reimf( z1 ); + var parts2 = reimf( z2 ); + return ( + parts1[ 0 ] === parts2[ 0 ] && + parts1[ 1 ] === parts2[ 1 ] + ); +} + + +// EXPORTS // + +module.exports = isEqualf; + |