@stdlib/math-base-special-acscf 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +12 -12
- package/package.json +4 -4
- package/src/addon.c +0 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -86,15 +86,15 @@ var v = acscf( 0.5 );
|
|
|
86
86
|
<!-- eslint no-undef: "error" -->
|
|
87
87
|
|
|
88
88
|
```javascript
|
|
89
|
-
var
|
|
89
|
+
var uniform = require( '@stdlib/random-array-uniform' );
|
|
90
|
+
var logEachMap = require( '@stdlib/console-log-each-map' );
|
|
90
91
|
var acscf = require( '@stdlib/math-base-special-acscf' );
|
|
91
92
|
|
|
92
|
-
var x =
|
|
93
|
+
var x = uniform( 100, 1.1, 5.1, {
|
|
94
|
+
'dtype': 'float32'
|
|
95
|
+
});
|
|
93
96
|
|
|
94
|
-
|
|
95
|
-
for ( i = 0; i < x.length; i++ ) {
|
|
96
|
-
console.log( acscf( x[ i ] ) );
|
|
97
|
-
}
|
|
97
|
+
logEachMap( 'acscf(%0.4f) = %0.4f', x, acscf );
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
</section>
|
|
@@ -168,7 +168,7 @@ float stdlib_base_acscf( const float x );
|
|
|
168
168
|
|
|
169
169
|
int main( void ) {
|
|
170
170
|
const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f };
|
|
171
|
-
|
|
171
|
+
|
|
172
172
|
float v;
|
|
173
173
|
int i;
|
|
174
174
|
for ( i = 0; i < 10; i++ ) {
|
|
@@ -229,7 +229,7 @@ See [LICENSE][stdlib-license].
|
|
|
229
229
|
|
|
230
230
|
## Copyright
|
|
231
231
|
|
|
232
|
-
Copyright © 2016-
|
|
232
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
233
233
|
|
|
234
234
|
</section>
|
|
235
235
|
|
|
@@ -242,8 +242,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
242
242
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-acscf.svg
|
|
243
243
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-special-acscf
|
|
244
244
|
|
|
245
|
-
[test-image]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml/badge.svg?branch=v0.1.
|
|
246
|
-
[test-url]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml?query=branch:v0.1.
|
|
245
|
+
[test-image]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml/badge.svg?branch=v0.1.2
|
|
246
|
+
[test-url]: https://github.com/stdlib-js/math-base-special-acscf/actions/workflows/test.yml?query=branch:v0.1.2
|
|
247
247
|
|
|
248
248
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-acscf/main.svg
|
|
249
249
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-acscf?branch=main
|
|
@@ -255,8 +255,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
255
255
|
|
|
256
256
|
-->
|
|
257
257
|
|
|
258
|
-
[chat-image]: https://img.shields.io/
|
|
259
|
-
[chat-url]: https://
|
|
258
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
259
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
260
260
|
|
|
261
261
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
262
262
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-special-acscf",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Compute the arccosecant of a single-precision floating-point number.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@stdlib/math-base-napi-unary": "^0.2.
|
|
37
|
-
"@stdlib/math-base-special-asinf": "^0.1.
|
|
36
|
+
"@stdlib/math-base-napi-unary": "^0.2.7",
|
|
37
|
+
"@stdlib/math-base-special-asinf": "^0.1.1",
|
|
38
38
|
"@stdlib/number-float64-base-to-float32": "^0.2.2",
|
|
39
|
-
"@stdlib/utils-library-manifest": "^0.2.
|
|
39
|
+
"@stdlib/utils-library-manifest": "^0.2.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {},
|
|
42
42
|
"engines": {
|