Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@stdlib/math-base-special-ln

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/math-base-special-ln - npm Package Compare versions

Comparing version
0.2.4
to
0.2.5
+24
-1
manifest.json
{
"options": {
"task": "build"
"task": "build",
"wasm": false
},

@@ -30,2 +31,3 @@ "fields": [

"task": "build",
"wasm": false,
"src": [

@@ -50,2 +52,3 @@ "./src/main.c"

"task": "benchmark",
"wasm": false,
"src": [

@@ -69,2 +72,3 @@ "./src/main.c"

"task": "examples",
"wasm": false,
"src": [

@@ -85,2 +89,21 @@ "./src/main.c"

]
},
{
"task": "build",
"wasm": true,
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/number-float64-base-get-high-word",
"@stdlib/number-float64-base-set-high-word",
"@stdlib/math-base-assert-is-nan",
"@stdlib/constants-float64-ninf",
"@stdlib/constants-float64-exponent-bias"
]
}

@@ -87,0 +110,0 @@ ]

+1
-1

@@ -1,1 +0,1 @@

Copyright (c) 2016-2024 The Stdlib Authors.
Copyright (c) 2016-2026 The Stdlib Authors.
{
"name": "@stdlib/math-base-special-ln",
"version": "0.2.4",
"version": "0.2.5",
"description": "Evaluate the natural logarithm of a double-precision floating-point number.",

@@ -37,9 +37,9 @@ "license": "Apache-2.0",

"dependencies": {
"@stdlib/constants-float64-exponent-bias": "^0.2.2",
"@stdlib/constants-float64-ninf": "^0.2.2",
"@stdlib/math-base-assert-is-nan": "^0.2.2",
"@stdlib/math-base-napi-unary": "^0.2.1",
"@stdlib/constants-float64-exponent-bias": "^0.2.3",
"@stdlib/constants-float64-ninf": "^0.2.3",
"@stdlib/math-base-assert-is-nan": "^0.2.3",
"@stdlib/math-base-napi-unary": "^0.2.7",
"@stdlib/number-float64-base-get-high-word": "^0.2.2",
"@stdlib/number-float64-base-set-high-word": "^0.2.2",
"@stdlib/utils-library-manifest": "^0.2.2"
"@stdlib/number-float64-base-set-high-word": "^0.2.3",
"@stdlib/utils-library-manifest": "^0.2.3"
},

@@ -46,0 +46,0 @@ "devDependencies": {},

+12
-13

@@ -92,13 +92,12 @@ <!--

```javascript
var randu = require( '@stdlib/random-base-randu' );
var round = require( '@stdlib/math-base-special-round' );
var discreteUniform = require( '@stdlib/random-array-discrete-uniform' );
var logEachMap = require( '@stdlib/console-log-each-map' );
var ln = require( '@stdlib/math-base-special-ln' );
var x;
var i;
var opts = {
'dtype': 'float64'
};
var x = discreteUniform( 100, 0, 100, opts );
for ( i = 0; i < 100; i++ ) {
x = round( randu() * 100.0 );
console.log( 'ln(%d) = %d', x, ln( x ) );
}
logEachMap( 'ln(%0.4f) = %0.4f', x, ln );
```

@@ -235,3 +234,3 @@

Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].

@@ -249,4 +248,4 @@ </section>

[test-image]: https://github.com/stdlib-js/math-base-special-ln/actions/workflows/test.yml/badge.svg?branch=v0.2.4
[test-url]: https://github.com/stdlib-js/math-base-special-ln/actions/workflows/test.yml?query=branch:v0.2.4
[test-image]: https://github.com/stdlib-js/math-base-special-ln/actions/workflows/test.yml/badge.svg?branch=v0.2.5
[test-url]: https://github.com/stdlib-js/math-base-special-ln/actions/workflows/test.yml?query=branch:v0.2.5

@@ -263,4 +262,4 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-special-ln/main.svg

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
[chat-url]: https://stdlib.zulipchat.com

@@ -267,0 +266,0 @@ [stdlib]: https://github.com/stdlib-js/stdlib

@@ -22,3 +22,2 @@ /**

// cppcheck-suppress shadowFunction
STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_ln )