A Math.cbrt cube root function would be nice.

This should be more accurate than pow(x,1/3) and should not have a domain error for x<0.
Unlike pow():
   Math.cbrt(-0) == -0
Math.cbrt(-Infinity) == -Infinity
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to