From 0d03fda35846ec3d723c8444cb5a497e25a3fc0d Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 18:03:54 +0530 Subject: [PATCH 01/13] docs: update function description Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js index 3de672950eb3..ed2ddc3b1713 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Compute the base `b` logarithm. +* Computes the base `b` logarithm of `x`. * * @module @stdlib/math/base/special/log * From d604a42197532abb7dedbe36931bc7048876a4bb Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 18:10:18 +0530 Subject: [PATCH 02/13] Update index.js Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js index ed2ddc3b1713..12ce6a19adf4 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Computes the base `b` logarithm of `x`. +* Compute the base `b` logarithm of `x`. * * @module @stdlib/math/base/special/log * From 7cf43d136f93c5aadc661f096cb192f42c443e9b Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 18:28:19 +0530 Subject: [PATCH 03/13] Update package.json Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/package.json b/lib/node_modules/@stdlib/math/base/special/log/package.json index 6a892aa89a83..26a43d8e154b 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/log", "version": "0.0.0", - "description": "Base `b` logarithm.", + "description": "Compute the base `b` logarithm of `x`.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From 96afdeef86dbd02a818dab9a6be3063612d72659 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:35:44 +0530 Subject: [PATCH 04/13] Update index.d.ts Signed-off-by: Gunj Joshi --- .../@stdlib/math/base/special/log/docs/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/log/docs/types/index.d.ts index 33daed80a0ce..21718f39dc2f 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/special/log/docs/types/index.d.ts @@ -19,7 +19,7 @@ // TypeScript Version: 4.1 /** -* Computes the base `b` logarithm of `x`. +* Computes the base `b` logarithm of a double-precision floating-point number. * * @param x - input value * @param b - base From 9fff10b47f9df6bf0ddb374a8b6479250db7efe7 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:36:08 +0530 Subject: [PATCH 05/13] Update repl.txt Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/docs/repl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/log/docs/repl.txt index 9eacd513ff2e..94584fdbbe8b 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/docs/repl.txt +++ b/lib/node_modules/@stdlib/math/base/special/log/docs/repl.txt @@ -1,6 +1,6 @@ {{alias}}( x, b ) - Computes the base `b` logarithm of `x`. + Computes the base `b` logarithm of a double-precision floating-point number. For negative `b` or `x`, the function returns `NaN`. From 9cd83ae9f5c3b6c6ca8b1b5d495c13c1dc34d788 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:36:31 +0530 Subject: [PATCH 06/13] Update log.h Signed-off-by: Gunj Joshi --- .../base/special/log/include/stdlib/math/base/special/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/include/stdlib/math/base/special/log.h b/lib/node_modules/@stdlib/math/base/special/log/include/stdlib/math/base/special/log.h index aba292455203..27d7087c83aa 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/include/stdlib/math/base/special/log.h +++ b/lib/node_modules/@stdlib/math/base/special/log/include/stdlib/math/base/special/log.h @@ -27,7 +27,7 @@ extern "C" { #endif /** -* Computes the base b logarithm of x. +* Computes the base `b` logarithm of a double-precision floating-point number. */ double stdlib_base_log( const double x, const double b ); From a3df36702307700db9f5c2673448cba2aec09b95 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:36:49 +0530 Subject: [PATCH 07/13] Update index.js Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js index 12ce6a19adf4..dd75dd9415fd 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/special/log/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* Compute the base `b` logarithm of `x`. +* Compute the base `b` logarithm of a double-precision floating-point number. * * @module @stdlib/math/base/special/log * From b40d0b0ac0733bd14a5fa6a0d624c069e88dfb40 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:37:00 +0530 Subject: [PATCH 08/13] Update main.js Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/lib/main.js b/lib/node_modules/@stdlib/math/base/special/log/lib/main.js index db6dbea371d2..4f406396ec1f 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/lib/main.js +++ b/lib/node_modules/@stdlib/math/base/special/log/lib/main.js @@ -26,7 +26,7 @@ var ln = require( '@stdlib/math/base/special/ln' ); // MAIN // /** -* Computes the base `b` logarithm of `x`. +* Computes the base `b` logarithm of a double-precision floating-point number. * * @param {NonNegativeNumber} x - input value * @param {NonNegativeNumber} b - base From 2c641cbf65161a56143d48ca2ca8168e414a0258 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:37:10 +0530 Subject: [PATCH 09/13] Update native.js Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/lib/native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/lib/native.js b/lib/node_modules/@stdlib/math/base/special/log/lib/native.js index f74d33b3edce..7fe4d8d2bcd3 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/lib/native.js +++ b/lib/node_modules/@stdlib/math/base/special/log/lib/native.js @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' ); // MAIN // /** -* Computes the base b logarithm of x. +* Computes the base `b` logarithm of a double-precision floating-point number. * * @private * @param {number} x - input value From 322d0dcba04be28f24b1174a711e0d1f5981d43d Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:37:28 +0530 Subject: [PATCH 10/13] Update main.c Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/src/main.c b/lib/node_modules/@stdlib/math/base/special/log/src/main.c index 66e96f8b095f..8ec3fb319433 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/log/src/main.c @@ -20,7 +20,7 @@ #include "stdlib/math/base/special/ln.h" /** -* Computes the base b logarithm of x. +* Computes the base `b` logarithm of a double-precision floating-point number. * * @param x input value * @param b input value From 4a57082e9b7dab9468be448ac2d6976006050152 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:38:37 +0530 Subject: [PATCH 11/13] Update README.md Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/README.md b/lib/node_modules/@stdlib/math/base/special/log/README.md index 53a18dd45643..314d4a40840d 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/README.md +++ b/lib/node_modules/@stdlib/math/base/special/log/README.md @@ -20,7 +20,7 @@ limitations under the License. # Logarithm -> Compute the base `b` [logarithm][logarithm]. +> Computes the base `b` [logarithm][logarithm] of a double-precision floating-point number.
@@ -32,7 +32,7 @@ var log = require( '@stdlib/math/base/special/log' ); #### log( x, b ) -Computes the base `b` logarithm of `x`. +Computes the base `b` logarithm of a double-precision floating-point number. ```javascript var v = log( 100.0, 10.0 ); @@ -113,7 +113,7 @@ for ( i = 0; i < 100; i++ ) { #### stdlib_base_log( x, b ) -Computes the base `b` logarithm of `x`. +Computes the base `b` logarithm of a double-precision floating-point number. ```c double v = stdlib_base_log( 100.0, 10.0 ); From e4a4b4d0a3ae03395c58db19dbbe75762b732de2 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Sun, 18 Aug 2024 21:39:05 +0530 Subject: [PATCH 12/13] Update package.json Signed-off-by: Gunj Joshi --- lib/node_modules/@stdlib/math/base/special/log/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/package.json b/lib/node_modules/@stdlib/math/base/special/log/package.json index 26a43d8e154b..656a59b4d88f 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/package.json +++ b/lib/node_modules/@stdlib/math/base/special/log/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/math/base/special/log", "version": "0.0.0", - "description": "Compute the base `b` logarithm of `x`.", + "description": "Compute the base `b` logarithm of a double-precision floating-point number.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", From f82158a6f77f0b3deef2d017b1628c854d6e5b02 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Sun, 18 Aug 2024 18:57:17 +0200 Subject: [PATCH 13/13] Update lib/node_modules/@stdlib/math/base/special/log/README.md Signed-off-by: Philipp Burckhardt --- lib/node_modules/@stdlib/math/base/special/log/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/math/base/special/log/README.md b/lib/node_modules/@stdlib/math/base/special/log/README.md index 314d4a40840d..13accca7e49f 100644 --- a/lib/node_modules/@stdlib/math/base/special/log/README.md +++ b/lib/node_modules/@stdlib/math/base/special/log/README.md @@ -20,7 +20,7 @@ limitations under the License. # Logarithm -> Computes the base `b` [logarithm][logarithm] of a double-precision floating-point number. +> Compute the base `b` [logarithm][logarithm] of a double-precision floating-point number.