Skip to content

Commit

Permalink
chore: stuff from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush0325 committed Oct 22, 2024
1 parent fb45f8c commit 29c8ebd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ tape( 'the function returns `NaN` if provided a value less than `-1`', opts, fun
var i;

for ( i = 0; i < 1e3; i++ ) {
v = -(randu()*1.0e6) - (1.0-EPS);
v = -( randu() * 1.0e6 ) - ( 1.0 - EPS );
t.equal( isnanf( acosdf( v ) ), true, 'returns expected value when provided '+v );
}
t.end();
Expand All @@ -121,7 +121,7 @@ tape( 'the function returns `NaN` if provided a value greater than `+1`', opts,
var i;

for ( i = 0; i < 1e3; i++ ) {
v = (randu()*1.0e6) + 1.0 + EPS;
v = ( randu() * 1.0e6 ) + 1.0 + EPS;
t.equal( isnanf( acosdf( v ) ), true, 'returns expected value when provided '+v );
}
t.end();
Expand Down

0 comments on commit 29c8ebd

Please sign in to comment.