There are already Strawmans for Number.MAX_INTEGER and Number.EPSILON:
http://wiki.ecmascript.org/doku.php?id=strawman:number_max_integer
http://wiki.ecmascript.org/doku.php?id=strawman:number_epsilon



> *** Make Math.hypot(x,y,z,...) variadic ***
> This sounds like a reasonable extension.  Oddly, I haven't seen any other 
> libraries support a variadic hypot function, but the use cases seem obvious 
> enough.  

Just yesterday I released my JavaScript library for mathematical computations 
https://github.com/alawatthe/MathLib
It supports more than two arguments in it's hypot function. 
So there is at least one library supporting variadic hypot functions :-)



Regarding Math.sign versus Math.signum
In (written) mathematics "sgn" is often used. But I think Math.sign is fine as 
well.
In my opinion sign and sine aren't similar enough to be confused.


Alex

P.S.: There might be other use cases for Number.EPSILON, but comparing numbers
with a tolerance of Number.EPSILON isn't working that good.
Number.EPSILON is in many cases to small. Right now I'm using 3e-15.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to