>>Section 15.8.2.28 in es6libraryextensions.pdf describes the result of 
>>Math.hypot as NaN if x or y is NaN.
>>I believe IEEE754 defines hypot of Infinity with anything (even NaN) as 
>>Infinity, thus:

>>hypot(Infinity,NaN) == hypot(NaN,-Infinity) == Infinity 

Thanks - I've fixed this in the working draft which we'll be integrating into 
the ES6 draft spec soon.

Luke

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to