Skip to content

Commit c7d1693

Browse files
authored
test: update assertion messages
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 14fe2e5 commit c7d1693

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/constants/float32/max-ln/test

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tape( 'main export is a number', function test( t ) {
3737
});
3838

3939
tape( 'export is a single-precision floating-point number equal to the natural logarithm of the max single-precision floating-point number', function test( t ) {
40-
t.equal( FLOAT32_MAX_LN, float64ToFloat32( lnf( float64ToFloat32( pow( 2, 127 ) ) * ( 2 - float64ToFloat32( pow( 2, -23 ) ) ) ) ), 'equals the logarithm of the max value (computed)' );
41-
t.equal( FLOAT32_MAX_LN, lnf( FLOAT32_MAX ), 'equals the logarithm of the max value' );
40+
t.equal( FLOAT32_MAX_LN, float64ToFloat32( lnf( float64ToFloat32( pow( 2, 127 ) ) * ( 2 - float64ToFloat32( pow( 2, -23 ) ) ) ) ), 'returns expected value' );
41+
t.equal( FLOAT32_MAX_LN, lnf( FLOAT32_MAX ), 'returns expected value' );
4242
t.end();
4343
});

0 commit comments

Comments
 (0)