@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 CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2024 The Stdlib Authors.
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 linspace = require( '@stdlib/array-base-linspace' );
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 = linspace( -1.0, 1.0, 100 );
101
+ var x = uniform( 100, -1.0, 1.0, {
102
+ 'dtype': 'float32'
103
+ });
101
104
 
102
- var i;
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 &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
241
+ Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].
235
242
 
236
243
  </section>
237
244
 
@@ -244,8 +251,8 @@ Copyright &copy; 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.0
248
- [test-url]: https://github.com/stdlib-js/math-base-special-asindf/actions/workflows/test.yml?query=branch:v0.1.0
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 &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
257
264
 
258
265
  -->
259
266
 
260
- [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
261
- [chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
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 &copy; 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>
@@ -41,7 +41,7 @@
41
41
  * @example
42
42
  * var sqrtf = require( '@stdlib/math-base-special-sqrtf' );
43
43
  *
44
- ** var v = asindf( sqrtf( 3.0 ) / 2.0 );
44
+ * var v = asindf( sqrtf( 3.0 ) / 2.0 );
45
45
  * // returns ~60.0
46
46
  *
47
47
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/math-base-special-asindf",
3
- "version": "0.1.0",
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.1",
37
- "@stdlib/math-base-special-asinf": "^0.1.0",
38
- "@stdlib/math-base-special-rad2degf": "^0.1.0",
39
- "@stdlib/number-float64-base-to-float32": "^0.2.1",
40
- "@stdlib/utils-library-manifest": "^0.2.1"
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": {
package/src/addon.c CHANGED
@@ -19,5 +19,4 @@
19
19
  #include "stdlib/math/base/special/asindf.h"
20
20
  #include "stdlib/math/base/napi/unary.h"
21
21
 
22
- // cppcheck-suppress shadowFunction
23
22
  STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_asindf )