Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/math/base/special/log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# Logarithm

> Compute the base `b` [logarithm][logarithm].
> Compute the base `b` [logarithm][logarithm] of a double-precision floating-point number.

<section class="usage">

Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand Down
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Compute the base `b` logarithm.
* Compute the base `b` logarithm of a double-precision floating-point number.
*
* @module @stdlib/math/base/special/log
*
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/special/log/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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 a double-precision floating-point number.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/special/log/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down