tc39 / proposal-math-sum

TC39 proposal to add a summation method to JavaScript
https://tc39.github.io/proposal-math-sum
72 stars 1 forks source link

License #15

Closed linusg closed 2 months ago

linusg commented 2 months ago

This repo seems to be missing a license. For the spec text it probably doesn't matter too much as it will be upstreamed, but what is the license of the polyfill?

bakkot commented 2 months ago

I wrote it myself based on an algorithm which is more than 20 years old, so I own the copyright. I'll make it available under MIT.

bakkot commented 2 months ago

Hm, actually, I guess I'll go with BSD 3-clause for consistency with ECMA licenses. Let me know if you need it under MIT as well though.

ljharb commented 2 months ago

I need it under MIT, since that's what I included in https://npmjs.com/math.sumprecise - but since that one commit will always be under MIT, it's probably fine.