Skip to content

Commit

Permalink
Removed Math.clz32 since it will be added by another PR (#1430)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabergia committed Jan 15, 2024
1 parent 2549003 commit ead8b06
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions testsrc/jstests/harmony/math-functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,6 @@ assertEquals(Math.sign(NaN), NaN);
assertEquals(Math.sign('foo'), NaN);
assertEquals(Math.sign(), NaN);

assertEquals(Math.clz32(0), 32);
assertEquals(Math.clz32(1), 31);
assertEquals(Math.clz32(2), 30);
assertEquals(Math.clz32(-0), 32);
assertEquals(Math.clz32(-2), 0);
assertEquals(Math.clz32(Infinity), 32);
assertEquals(Math.clz32(-Infinity), 32);
assertEquals(Math.clz32(NaN), 32);
assertEquals(Math.clz32(NaN), 32);
assertEquals(Math.clz32('foo'), 32);
assertEquals(Math.clz32(), 32);

assertEquals(Math.fround(0.5), 0.5);
assertEquals(Math.fround(5.4), 5.400000095367432);
assertEquals(Math.fround(-2.2), -2.200000047683716);
Expand Down

0 comments on commit ead8b06

Please sign in to comment.