Skip to content

Commit

Permalink
test: use float64 value
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjjoshi committed Oct 15, 2024
1 parent 966b427 commit ce6c37e
Showing 1 changed file with 1 addition and 1 deletion.
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 single-precision floating-point number equal to `0.3465735912322998`', function test( t ) {
t.equal( FLOAT32_HALF_LN2, 0.3465735912322998, 'equals 0.3465735912322998' );
t.equal( FLOAT32_HALF_LN2, float64ToFloat32( 3.46573590279972654709e-01 ), 'equals 0.3465735912322998' );
t.end();
});

Expand Down

0 comments on commit ce6c37e

Please sign in to comment.