tc39 / proposal-bigint-math

Draft specification for supporting BigInts in JavaScript’s Math methods.
https://tc39.es/proposal-bigint-math/
BSD 3-Clause "New" or "Revised" License
36 stars 2 forks source link

BigInt hypot and the nullary case #6

Closed js-choi closed 2 years ago

js-choi commented 2 years ago

Unlike with Math.max and min (see #3), the arguments of Math.hypot cannot mix regular numbers and BigInts.

This means that we have three choices:

After hearing feedback from TC39 at the prior presentation, my inclination is with the first choice.

js-choi commented 2 years ago

Closing. hypot has now been completely removed due to lack of use cases.

See https://github.com/tc39/proposal-bigint-math/issues/13#issuecomment-919472001 and https://github.com/tc39/proposal-bigint-math/issues/14#issuecomment-918663577.