@stdlib/math-base-napi-unary
Advanced tools
@@ -22,4 +22,4 @@ /** | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
| #include <node_api.h> | ||
@@ -115,4 +115,4 @@ #include <assert.h> | ||
| * @example | ||
| * #include "stdlib/complex/float64.h" | ||
| * #include "stdlib/complex/reim.h" | ||
| * #include "stdlib/complex/float64/ctor.h" | ||
| * #include "stdlib/complex/float64/reim.h" | ||
| * | ||
@@ -123,3 +123,3 @@ * static stdlib_complex128_t scale( const stdlib_complex128_t x ) { | ||
| * | ||
| * stdlib_reim( x, &re, &im ); | ||
| * stdlib_complex128_reim( x, &re, &im ); | ||
| * | ||
@@ -168,3 +168,3 @@ * re *= 10.0; | ||
| * @example | ||
| * #include "stdlib/complex/float64.h" | ||
| * #include "stdlib/complex/float64/ctor.h" | ||
| * | ||
@@ -211,4 +211,4 @@ * static double fcn( const stdlib_complex128_t x ) { | ||
| * @example | ||
| * #include "stdlib/complex/float32.h" | ||
| * #include "stdlib/complex/reimf.h" | ||
| * #include "stdlib/complex/float32/ctor.h" | ||
| * #include "stdlib/complex/float32/reim.h" | ||
| * | ||
@@ -219,3 +219,3 @@ * static stdlib_complex64_t scale( const stdlib_complex64_t x ) { | ||
| * | ||
| * stdlib_reimf( x, &re, &im ); | ||
| * stdlib_complex64_reim( x, &re, &im ); | ||
| * | ||
@@ -264,3 +264,3 @@ * re *= 10.0f; | ||
| * @example | ||
| * #include "stdlib/complex/float32.h" | ||
| * #include "stdlib/complex/float32/ctor.h" | ||
| * | ||
@@ -267,0 +267,0 @@ * static float fcn( const stdlib_complex64_t x ) { |
+4
-4
@@ -36,6 +36,6 @@ { | ||
| "dependencies": [ | ||
| "@stdlib/complex-float32", | ||
| "@stdlib/complex-float64", | ||
| "@stdlib/complex-reim", | ||
| "@stdlib/complex-reimf" | ||
| "@stdlib/complex-float32-ctor", | ||
| "@stdlib/complex-float64-ctor", | ||
| "@stdlib/complex-float64-reim", | ||
| "@stdlib/complex-float32-reim" | ||
| ] | ||
@@ -42,0 +42,0 @@ } |
+6
-6
| { | ||
| "name": "@stdlib/math-base-napi-unary", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "C APIs for registering a Node-API module exporting an interface for invoking a unary numerical function.", | ||
@@ -37,7 +37,7 @@ "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@stdlib/complex-float32": "^0.2.1", | ||
| "@stdlib/complex-float64": "^0.2.1", | ||
| "@stdlib/complex-reim": "^0.2.1", | ||
| "@stdlib/complex-reimf": "^0.2.1", | ||
| "@stdlib/utils-library-manifest": "^0.2.1" | ||
| "@stdlib/complex-float32-ctor": "^0.0.2", | ||
| "@stdlib/complex-float32-reim": "^0.1.0", | ||
| "@stdlib/complex-float64-ctor": "^0.0.2", | ||
| "@stdlib/complex-float64-reim": "^0.1.1", | ||
| "@stdlib/utils-library-manifest": "^0.2.2" | ||
| }, | ||
@@ -44,0 +44,0 @@ "devDependencies": {}, |
+14
-14
@@ -213,3 +213,3 @@ <!-- | ||
| ```c | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
| #include <node_api.h> | ||
@@ -254,3 +254,3 @@ | ||
| ```c | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
| #include <node_api.h> | ||
@@ -295,3 +295,3 @@ | ||
| ```c | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
| #include <node_api.h> | ||
@@ -336,3 +336,3 @@ | ||
| ```c | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
| #include <node_api.h> | ||
@@ -499,4 +499,4 @@ | ||
| ```c | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/reim.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
| #include "stdlib/complex/float64/reim.h" | ||
@@ -507,3 +507,3 @@ static stdlib_complex128_t scale( const stdlib_complex128_t x ) { | ||
| stdlib_reim( x, &re, &im ); | ||
| stdlib_complex128_reim( x, &re, &im ); | ||
@@ -533,3 +533,3 @@ re *= 10.0; | ||
| ```c | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
@@ -557,4 +557,4 @@ static double fcn( const stdlib_complex128_t x ) { | ||
| ```c | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/reimf.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
| #include "stdlib/complex/float32/reim.h" | ||
@@ -565,3 +565,3 @@ static stdlib_complex64_t scale( const stdlib_complex64_t x ) { | ||
| stdlib_reimf( x, &re, &im ); | ||
| stdlib_complex64_reim( x, &re, &im ); | ||
@@ -591,3 +591,3 @@ re *= 10.0f; | ||
| ```c | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
@@ -741,4 +741,4 @@ static float fcn( const stdlib_complex64_t x ) { | ||
| [test-image]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml/badge.svg?branch=v0.2.1 | ||
| [test-url]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml?query=branch:v0.2.1 | ||
| [test-image]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml/badge.svg?branch=v0.2.2 | ||
| [test-url]: https://github.com/stdlib-js/math-base-napi-unary/actions/workflows/test.yml?query=branch:v0.2.2 | ||
@@ -745,0 +745,0 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-napi-unary/main.svg |
+6
-6
@@ -20,6 +20,6 @@ /** | ||
| #include "stdlib/math/base/napi/unary.h" | ||
| #include "stdlib/complex/float64.h" | ||
| #include "stdlib/complex/float32.h" | ||
| #include "stdlib/complex/reim.h" | ||
| #include "stdlib/complex/reimf.h" | ||
| #include "stdlib/complex/float64/ctor.h" | ||
| #include "stdlib/complex/float32/ctor.h" | ||
| #include "stdlib/complex/float64/reim.h" | ||
| #include "stdlib/complex/float32/reim.h" | ||
| #include <node_api.h> | ||
@@ -208,3 +208,3 @@ #include <stdint.h> | ||
| double im; | ||
| stdlib_reim( v, &re, &im ); | ||
| stdlib_complex128_reim( v, &re, &im ); | ||
@@ -400,3 +400,3 @@ napi_value obj; | ||
| float im; | ||
| stdlib_reimf( v, &re, &im ); | ||
| stdlib_complex64_reim( v, &re, &im ); | ||
@@ -403,0 +403,0 @@ napi_value obj; |
Sorry, the diff of this file is not supported yet
80006
-2.39%17
-5.56%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed