File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed
lib/node_modules/@stdlib/math/base/special/log
include/stdlib/math/base/special Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ limitations under the License.
20
20
21
21
# Logarithm
22
22
23
- > Compute the base ` b ` [ logarithm] [ logarithm ] .
23
+ > Compute the base ` b ` [ logarithm] [ logarithm ] of a double-precision floating-point number .
24
24
25
25
<section class =" usage " >
26
26
@@ -32,7 +32,7 @@ var log = require( '@stdlib/math/base/special/log' );
32
32
33
33
#### log( x, b )
34
34
35
- Computes the base ` b ` logarithm of ` x ` .
35
+ Computes the base ` b ` logarithm of a double-precision floating-point number .
36
36
37
37
``` javascript
38
38
var v = log ( 100.0 , 10.0 );
@@ -113,7 +113,7 @@ for ( i = 0; i < 100; i++ ) {
113
113
114
114
#### stdlib_base_log( x, b )
115
115
116
- Computes the base ` b ` logarithm of ` x ` .
116
+ Computes the base ` b ` logarithm of a double-precision floating-point number .
117
117
118
118
``` c
119
119
double v = stdlib_base_log( 100.0 , 10.0 );
Original file line number Diff line number Diff line change 1
1
2
2
{{alias}}( x, b )
3
- Computes the base `b` logarithm of `x` .
3
+ Computes the base `b` logarithm of a double-precision floating-point number .
4
4
5
5
For negative `b` or `x`, the function returns `NaN`.
6
6
Original file line number Diff line number Diff line change 19
19
// TypeScript Version: 4.1
20
20
21
21
/**
22
- * Computes the base `b` logarithm of `x` .
22
+ * Computes the base `b` logarithm of a double-precision floating-point number .
23
23
*
24
24
* @param x - input value
25
25
* @param b - base
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ extern "C" {
27
27
#endif
28
28
29
29
/**
30
- * Computes the base b logarithm of x .
30
+ * Computes the base `b` logarithm of a double-precision floating-point number .
31
31
*/
32
32
double stdlib_base_log ( const double x , const double b );
33
33
Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Compute the base `b` logarithm.
22
+ * Compute the base `b` logarithm of a double-precision floating-point number .
23
23
*
24
24
* @module @stdlib /math/base/special/log
25
25
*
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var ln = require( '@stdlib/math/base/special/ln' );
26
26
// MAIN //
27
27
28
28
/**
29
- * Computes the base `b` logarithm of `x` .
29
+ * Computes the base `b` logarithm of a double-precision floating-point number .
30
30
*
31
31
* @param {NonNegativeNumber } x - input value
32
32
* @param {NonNegativeNumber } b - base
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var addon = require( './../src/addon.node' );
26
26
// MAIN //
27
27
28
28
/**
29
- * Computes the base b logarithm of x .
29
+ * Computes the base `b` logarithm of a double-precision floating-point number .
30
30
*
31
31
* @private
32
32
* @param {number } x - input value
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @stdlib/math/base/special/log" ,
3
3
"version" : " 0.0.0" ,
4
- "description" : " Base `b` logarithm." ,
4
+ "description" : " Compute the base `b` logarithm of a double-precision floating-point number ." ,
5
5
"license" : " Apache-2.0" ,
6
6
"author" : {
7
7
"name" : " The Stdlib Authors" ,
Original file line number Diff line number Diff line change 20
20
#include "stdlib/math/base/special/ln.h"
21
21
22
22
/**
23
- * Computes the base b logarithm of x .
23
+ * Computes the base `b` logarithm of a double-precision floating-point number .
24
24
*
25
25
* @param x input value
26
26
* @param b input value
You can’t perform that action at this time.
0 commit comments