Skip to content

Commit f701fe4

Browse files
feat(add float32/ln-ten): add float32/ln-ten
1 parent 72a99a1 commit f701fe4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/constants/float32/ln-ten/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# FLOAT32_LN10
2222

23-
> [Natural logarithm][@stdlib/math/base/special/ln] of single-precision floating-point number `10`.
23+
> [Natural logarithm][@stdlib/math/base/special/ln] of `10` as a single-precision floating-point number.
2424
2525
<section class="usage">
2626

@@ -32,7 +32,7 @@ var FLOAT32_LN10 = require( '@stdlib/constants/float32/ln-ten' );
3232

3333
#### FLOAT32_LN10
3434

35-
[Natural logarithm][@stdlib/math/base/special/ln] of single-precision floating-point number `10`.
35+
[Natural logarithm][@stdlib/math/base/special/ln] of `10` as a single-precision floating-point number.
3636

3737
```javascript
3838
var bool = ( FLOAT32_LN10 === 2.3025851249694824 );
@@ -90,7 +90,7 @@ console.log( FLOAT32_LN10 );
9090

9191
#### STDLIB_CONSTANT_FLOAT32_LN10
9292

93-
Macro for the [natural logarithm][@stdlib/math/base/special/ln] of single-precision floating-point number `10`.
93+
Macro for the [natural logarithm][@stdlib/math/base/special/ln] of `10` as a single-precision floating-point number.
9494

9595
</section>
9696

lib/node_modules/@stdlib/constants/float32/ln-ten/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
4747
* @type {number}
4848
* @default 2.3025851249694824
4949
*/
50-
var FLOAT32_LN10 = float64ToFloat32(2.30258509299404568401799145468436420760110148862877297603332790096757260967735248023599720508959829834196778404e+00); // eslint-disable-line max-len
50+
var FLOAT32_LN10 = float64ToFloat32( 2.30258509299404568401799145468436420760110148862877297603332790096757260967735248023599720508959829834196778404e+00 ); // eslint-disable-line max-len
5151

5252

5353
// EXPORTS //

lib/node_modules/@stdlib/constants/float32/ln-ten/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ tape( 'main export is a number', function test( t ) {
3535
t.end();
3636
});
3737

38-
tape( 'export is a single-precision floating-point number equal to ` 2.3025851249694824`', function test( t ) {
39-
t.equal( FLOAT32_LN10, lnf( 10.0 ), 'equals 2.3025851249694824' );
38+
tape( 'export is a single-precision floating-point number equal to `2.3025851249694824`', function test( t ) {
39+
t.equal( FLOAT32_LN10, 2.3025851249694824, 'returns expected value' );
4040
t.end();
4141
});
4242

0 commit comments

Comments
 (0)