sirisian / ecmascript-types

ECMAScript Optional Static Typing Proposal http://sirisian.github.io/ecmascript-types/
453 stars 4 forks source link

In the spec overload all the math operations for numeric types #48

Closed sirisian closed 5 years ago

sirisian commented 5 years ago

http://sirisian.github.io/ecmascript-types/#sec-function-properties-of-the-math-object

At least add support for. Users would expect these to just work:

float16, float32, float64, float80, float128
decimal32, decimal64, decimal128
sirisian commented 5 years ago

This might be sufficient: http://sirisian.github.io/ecmascript-types/#sec-function-properties-of-the-math-object