File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
lib/node_modules/@stdlib/constants/float32/ln-ten Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
3838var 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
Original file line number Diff line number Diff 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 //
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments