Skip to content

chore: update test messages in constants/float64 #6747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'the exported value is a double-precision floating-point number equal to `1.2824271291006226`', function test( t ) {
t.equal( A, 1.2824271291006226, 'returns 1.2824271291006226' );
t.equal( A, 1.2824271291006226, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to `3.46573590279972654709e-01`', function test( t ) {
t.equal( HALF_LN2, 3.46573590279972654709e-01, 'equals 3.46573590279972654709e-01' );
t.equal( HALF_LN2, 3.46573590279972654709e-01, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to 1.5707963267948966', function test( t ) {
t.equal( HALF_PI, 1.5707963267948966, 'equals 1.5707963267948966' );
t.equal( HALF_PI, 1.5707963267948966, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to `-0.6931471805599453`', function test( t ) {
t.equal( LN_HALF, -0.6931471805599453, 'equals -0.6931471805599453' );
t.equal( LN_HALF, -0.6931471805599453, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to 1.1447298858494002', function test( t ) {
t.equal( LN_PI, 1.1447298858494002, 'equals 1.1447298858494002' );
t.equal( LN_PI, 1.1447298858494002, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to 0.9189385332046728', function test( t ) {
t.equal( LN_SQRT_TWO_PI, 0.9189385332046728, 'equals 0.9189385332046728' );
t.equal( LN_SQRT_TWO_PI, 0.9189385332046728, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to `2.302585092994046`', function test( t ) {
t.equal( LN10, 2.302585092994046, 'equals 2.302585092994046' );
t.equal( LN10, 2.302585092994046, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to `1.8378770664093456`', function test( t ) {
t.equal( LN_TWO_PI, 1.8378770664093456, 'equals 1.8378770664093456' );
t.equal( LN_TWO_PI, 1.8378770664093456, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to `0.6931471805599453`', function test( t ) {
t.equal( LN2, 0.6931471805599453, 'equals 0.6931471805599453' );
t.equal( LN2, 0.6931471805599453, 'returns expected value' );
t.end();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to 0.4342944819032518', function test( t ) {
t.equal( LOG10E, 0.4342944819032518, 'equals 0.4342944819032518' );
t.equal( LOG10E, 0.4342944819032518, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
});

tape( 'export is a double-precision floating-point number equal to 1.4426950408889634', function test( t ) {
t.equal( LOG2E, 1.4426950408889634, 'equals 1.4426950408889634' );
t.equal( LOG2E, 1.4426950408889634, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var tape = require( 'tape' );
var FLOAT64_MAX_BASE10_EXPONENT = require( './../lib' );

Check warning on line 24 in lib/node_modules/@stdlib/constants/float64/max-base10-exponent/test/test.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Identifier name 'FLOAT64_MAX_BASE10_EXPONENT' is too long (> 25)


// TESTS //
Expand All @@ -33,6 +33,6 @@
});

tape( 'the exported value is `308`', function test( t ) {
t.equal( FLOAT64_MAX_BASE10_EXPONENT, 308, 'equals 308' );
t.equal( FLOAT64_MAX_BASE10_EXPONENT, 308, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var tape = require( 'tape' );
var FLOAT64_MAX_BASE2_EXPONENT_SUBNORMAL = require( './../lib' );

Check warning on line 24 in lib/node_modules/@stdlib/constants/float64/max-base2-exponent-subnormal/test/test.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Identifier name 'FLOAT64_MAX_BASE2_EXPONENT_SUBNORMAL' is too long (> 25)


// TESTS //
Expand All @@ -33,6 +33,6 @@
});

tape( 'the exported value is -1023', function test( t ) {
t.equal( FLOAT64_MAX_BASE2_EXPONENT_SUBNORMAL, -1023, 'equals -1023' );
t.equal( FLOAT64_MAX_BASE2_EXPONENT_SUBNORMAL, -1023, 'returns expected value' );
t.end();
});
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// MODULES //

var tape = require( 'tape' );
var FLOAT64_MAX_BASE2_EXPONENT = require( './../lib' );

Check warning on line 24 in lib/node_modules/@stdlib/constants/float64/max-base2-exponent/test/test.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Identifier name 'FLOAT64_MAX_BASE2_EXPONENT' is too long (> 25)


// TESTS //
Expand All @@ -33,6 +33,6 @@
});

tape( 'the exported value is 1023', function test( t ) {
t.equal( FLOAT64_MAX_BASE2_EXPONENT, 1023, 'equals 1023' );
t.equal( FLOAT64_MAX_BASE2_EXPONENT, 1023, 'returns expected value' );
t.end();
});