how about more args for Math.hypot

Roger Andrews roger.andrews at mail104.co.uk
Fri Mar 9 19:05:34 PST 2012


For 3D geometry etc it would be nice if Math.hypot was variadic:
Math.hypot(x,y,z,...)

This is easy to implement just by finding the largest argument in order to 
avoid overflow. 



More information about the es-discuss mailing list