From 9271325e9f6538fca7f566957741b3885c5f150f Mon Sep 17 00:00:00 2001 From: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:46:48 +0000 Subject: [PATCH] Update artifacts --- math/base/special/fast/abs/coverage.ndjson | 1 + math/base/special/fast/abs/index.html | 146 ++++++++++++ math/base/special/fast/abs/index.js.html | 241 +++++++++++++++++++ math/base/special/fast/abs/main.js.html | 256 ++++++++++++++++++++ math/base/special/fast/abs/native.js.html | 259 +++++++++++++++++++++ 5 files changed, 903 insertions(+) create mode 100644 math/base/special/fast/abs/coverage.ndjson create mode 100644 math/base/special/fast/abs/index.html create mode 100644 math/base/special/fast/abs/index.js.html create mode 100644 math/base/special/fast/abs/main.js.html create mode 100644 math/base/special/fast/abs/native.js.html diff --git a/math/base/special/fast/abs/coverage.ndjson b/math/base/special/fast/abs/coverage.ndjson new file mode 100644 index 000000000..d23767500 --- /dev/null +++ b/math/base/special/fast/abs/coverage.ndjson @@ -0,0 +1 @@ +[167,167,100,7,7,100,2,2,100,167,167,100,"f134dac2965e729dd0e662f8ec3d952770310149","2024-03-16 12:44:36 -0400"] diff --git a/math/base/special/fast/abs/index.html b/math/base/special/fast/abs/index.html new file mode 100644 index 000000000..7ee0016c7 --- /dev/null +++ b/math/base/special/fast/abs/index.html @@ -0,0 +1,146 @@ + + + + + + Code coverage report for math/base/special/fast/abs/lib + + + + + + + + + +
+
+

All files math/base/special/fast/abs/lib

+
+ +
+ 100% + Statements + 167/167 +
+ + +
+ 100% + Branches + 7/7 +
+ + +
+ 100% + Functions + 2/2 +
+ + +
+ 100% + Lines + 167/167 +
+ + +
+

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

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FileStatementsBranchesFunctionsLines
index.js +
+
100%52/52100%1/1100%0/0100%52/52
main.js +
+
100%57/57100%4/4100%1/1100%57/57
native.js +
+
100%58/58100%2/2100%1/1100%58/58
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/math/base/special/fast/abs/index.js.html b/math/base/special/fast/abs/index.js.html new file mode 100644 index 000000000..bc70af3a5 --- /dev/null +++ b/math/base/special/fast/abs/index.js.html @@ -0,0 +1,241 @@ + + + + + + Code coverage report for math/base/special/fast/abs/lib/index.js + + + + + + + + + +
+
+

All files / math/base/special/fast/abs/lib index.js

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

+ 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 +531x +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 +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2018 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 an absolute value.
+*
+* @module @stdlib/math/base/special/fast/abs
+*
+* @example
+* var abs = require( '@stdlib/math/base/special/fast/abs' );
+*
+* var v = abs( -1.0 );
+* // returns 1.0
+*
+* v = abs( 2.0 );
+* // returns 2.0
+*
+* v = abs( 0.0 );
+* // returns 0.0
+*
+* v = abs( -0.0 );
+* // returns -0.0
+*
+* v = abs( NaN );
+* // returns NaN
+*/
+ 
+// MODULES //
+ 
+var main = require( './main.js' );
+ 
+ 
+// EXPORTS //
+ 
+module.exports = main;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/math/base/special/fast/abs/main.js.html b/math/base/special/fast/abs/main.js.html new file mode 100644 index 000000000..4c03880a2 --- /dev/null +++ b/math/base/special/fast/abs/main.js.html @@ -0,0 +1,256 @@ + + + + + + Code coverage report for math/base/special/fast/abs/lib/main.js + + + + + + + + + +
+
+

All files / math/base/special/fast/abs/lib main.js

+
+ +
+ 100% + Statements + 57/57 +
+ + +
+ 100% + Branches + 4/4 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 57/57 +
+ + +
+

+ 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 +581x +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 +8x +8x +3x +3x +5x +8x +1x +1x +1x +1x +1x + 
/**
+* @license Apache-2.0
+*
+* Copyright (c) 2018 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';
+ 
+/**
+* Computes the absolute value of `x`.
+*
+* @param {number} x - input value
+* @returns {number} absolute value
+*
+* @example
+* var v = abs( -1.0 );
+* // returns 1.0
+*
+* @example
+* var v = abs( 2.0 );
+* // returns 2.0
+*
+* @example
+* var v = abs( 0.0 );
+* // returns 0.0
+*
+* @example
+* var v = abs( -0.0 );
+* // returns -0.0
+*
+* @example
+* var v = abs( NaN );
+* // returns NaN
+*/
+function abs( x ) {
+	if ( x < 0.0 ) {
+		return -x;
+	}
+	return x;
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = abs;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file diff --git a/math/base/special/fast/abs/native.js.html b/math/base/special/fast/abs/native.js.html new file mode 100644 index 000000000..cb635a514 --- /dev/null +++ b/math/base/special/fast/abs/native.js.html @@ -0,0 +1,259 @@ + + + + + + Code coverage report for math/base/special/fast/abs/lib/native.js + + + + + + + + + +
+
+

All files / math/base/special/fast/abs/lib native.js

+
+ +
+ 100% + Statements + 58/58 +
+ + +
+ 100% + Branches + 2/2 +
+ + +
+ 100% + Functions + 1/1 +
+ + +
+ 100% + Lines + 58/58 +
+ + +
+

+ 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 +591x +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 +1x +1x +8x +8x +8x +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 addon = require( './../src/addon.node' );
+ 
+/**
+* Computes the absolute value of `x`.
+*
+* @param {number} x - input value
+* @returns {number} absolute value
+*
+* @example
+* var v = abs( -1.0 );
+* // returns 1.0
+*
+* @example
+* var v = abs( 2.0 );
+* // returns 2.0
+*
+* @example
+* var v = abs( 0.0 );
+* // returns 0.0
+*
+* @example
+* var v = abs( -0.0 );
+* // returns -0.0
+*
+* @example
+* var v = abs( NaN );
+* // returns NaN
+*/
+function abs( x ) {
+	return addon( x );
+}
+ 
+ 
+// EXPORTS //
+ 
+module.exports = abs;
+ 
+ +
+
+ + + + + + + + \ No newline at end of file