Review Request 114454: kjs: Implement ES6 Math.hypot

Bernd Buschinski b.buschinski at
Sat Dec 14 16:30:57 GMT 2013

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.

Repository: kdelibs


kjs: Implement ES6 Math.hypot

I agree that the loop, that is just checking for Inf looks weird, but thats what the spec says.
We MUST check everything first for Inf, NaN checks must come later.

So a (1, NaN, Inf) must return Inf.


  kjs/math_object.h 3d193dd 
  kjs/math_object.cpp 89835e5 




Bernd Buschinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list