Skip to content

Commit

Permalink
forced installation of Math.f16round
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jul 23, 2023
1 parent c594fce commit 6b967f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/esnext.math.f16round.js
Expand Up @@ -8,7 +8,7 @@ var $isFinite = isFinite;

// `Math.f16round` method
// https://github.com/tc39/proposal-float16array
$({ target: 'Math', stat: true }, {
$({ target: 'Math', stat: true, forced: true }, {
f16round: function f16round(x) {
var n = +x;
return $isFinite(n) && n !== 0 ? unpackIEEE754(packIEEE754(n, 10, 2), 10) : n;
Expand Down

0 comments on commit 6b967f8

Please sign in to comment.