Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@stdlib/math-base-napi-unary

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-napi-unary - npm Package Compare versions

Comparing version
0.2.1
to
0.2.2
+10
-10
include/stdlib/math/base/napi/unary.h

@@ -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 ) {

@@ -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 @@ }

{
"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

@@ -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