@stdlib/math-base-special-asindf 0.1.0 → 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 +23 -12
- package/docs/types/index.d.ts +1 -1
- package/package.json +6 -6
- 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
|
@@ -94,15 +94,15 @@ var v = asindf( -3.14 );
|
|
|
94
94
|
<!-- eslint no-undef: "error" -->
|
|
95
95
|
|
|
96
96
|
```javascript
|
|
97
|
-
var
|
|
97
|
+
var uniform = require( '@stdlib/random-array-uniform' );
|
|
98
|
+
var logEachMap = require( '@stdlib/console-log-each-map' );
|
|
98
99
|
var asindf = require( '@stdlib/math-base-special-asindf' );
|
|
99
100
|
|
|
100
|
-
var x =
|
|
101
|
+
var x = uniform( 100, -1.0, 1.0, {
|
|
102
|
+
'dtype': 'float32'
|
|
103
|
+
});
|
|
101
104
|
|
|
102
|
-
|
|
103
|
-
for ( i = 0; i < x.length; i++ ) {
|
|
104
|
-
console.log( asindf( x[ i ] ) );
|
|
105
|
-
}
|
|
105
|
+
logEachMap( 'asindf(%0.4f) = %0.4f', x, asindf );
|
|
106
106
|
```
|
|
107
107
|
|
|
108
108
|
</section>
|
|
@@ -179,7 +179,7 @@ float stdlib_base_asindf( const float x );
|
|
|
179
179
|
|
|
180
180
|
int main( void ) {
|
|
181
181
|
const float x[] = { 1.0f, 0.45f, -0.89f, 0.33f, -0.78f, -0.22f, 0.66f, 0.11f, -0.55f, 0.0f };
|
|
182
|
-
|
|
182
|
+
|
|
183
183
|
float v;
|
|
184
184
|
int i;
|
|
185
185
|
for ( i = 0; i < 10; i++ ) {
|
|
@@ -201,6 +201,13 @@ int main( void ) {
|
|
|
201
201
|
|
|
202
202
|
<section class="related">
|
|
203
203
|
|
|
204
|
+
* * *
|
|
205
|
+
|
|
206
|
+
## See Also
|
|
207
|
+
|
|
208
|
+
- <span class="package-name">[`@stdlib/math-base/special/asinf`][@stdlib/math/base/special/asinf]</span><span class="delimiter">: </span><span class="description">compute the arcsine of a single-precision floating-point number.</span>
|
|
209
|
+
- <span class="package-name">[`@stdlib/math-base/special/asind`][@stdlib/math/base/special/asind]</span><span class="delimiter">: </span><span class="description">compute the arcsine (in degrees) of a double-precision floating-point number.</span>
|
|
210
|
+
|
|
204
211
|
</section>
|
|
205
212
|
|
|
206
213
|
<!-- /.related -->
|
|
@@ -231,7 +238,7 @@ See [LICENSE][stdlib-license].
|
|
|
231
238
|
|
|
232
239
|
## Copyright
|
|
233
240
|
|
|
234
|
-
Copyright © 2016-
|
|
241
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
235
242
|
|
|
236
243
|
</section>
|
|
237
244
|
|
|
@@ -244,8 +251,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
244
251
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-special-asindf.svg
|
|
245
252
|
[npm-url]: https://npmjs.org/package/@stdlib/math-base-special-asindf
|
|
246
253
|
|
|
247
|
-
[test-image]: https://github.com/stdlib-js/math-base-special-asindf/actions/workflows/test.yml/badge.svg?branch=v0.1.
|
|
248
|
-
[test-url]: https://github.com/stdlib-js/math-base-special-asindf/actions/workflows/test.yml?query=branch:v0.1.
|
|
254
|
+
[test-image]: https://github.com/stdlib-js/math-base-special-asindf/actions/workflows/test.yml/badge.svg?branch=v0.1.2
|
|
255
|
+
[test-url]: https://github.com/stdlib-js/math-base-special-asindf/actions/workflows/test.yml?query=branch:v0.1.2
|
|
249
256
|
|
|
250
257
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-asindf/main.svg
|
|
251
258
|
[coverage-url]: https://codecov.io/github/stdlib-js/math-base-special-asindf?branch=main
|
|
@@ -257,8 +264,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
257
264
|
|
|
258
265
|
-->
|
|
259
266
|
|
|
260
|
-
[chat-image]: https://img.shields.io/
|
|
261
|
-
[chat-url]: https://
|
|
267
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
268
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
262
269
|
|
|
263
270
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
264
271
|
|
|
@@ -281,6 +288,10 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
281
288
|
|
|
282
289
|
<!-- <related-links> -->
|
|
283
290
|
|
|
291
|
+
[@stdlib/math/base/special/asinf]: https://www.npmjs.com/package/@stdlib/math-base-special-asinf
|
|
292
|
+
|
|
293
|
+
[@stdlib/math/base/special/asind]: https://www.npmjs.com/package/@stdlib/math-base-special-asind
|
|
294
|
+
|
|
284
295
|
<!-- </related-links> -->
|
|
285
296
|
|
|
286
297
|
</section>
|
package/docs/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/math-base-special-asindf",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Compute the arcsine (in degrees) of a single-precision floating-point number.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -33,11 +33,11 @@
|
|
|
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.
|
|
38
|
-
"@stdlib/math-base-special-rad2degf": "^0.1.
|
|
39
|
-
"@stdlib/number-float64-base-to-float32": "^0.2.
|
|
40
|
-
"@stdlib/utils-library-manifest": "^0.2.
|
|
36
|
+
"@stdlib/math-base-napi-unary": "^0.2.7",
|
|
37
|
+
"@stdlib/math-base-special-asinf": "^0.1.1",
|
|
38
|
+
"@stdlib/math-base-special-rad2degf": "^0.1.2",
|
|
39
|
+
"@stdlib/number-float64-base-to-float32": "^0.2.2",
|
|
40
|
+
"@stdlib/utils-library-manifest": "^0.2.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {},
|
|
43
43
|
"engines": {
|