[webkit-dev] use of isnan with integers (QNX gcc)

Darin Adler darin at apple.com
Fri Jul 22 07:19:01 PDT 2011


On Jul 22, 2011, at 2:16 AM, Shkrablyuk, Pavel wrote:

> Is there really a reason to check for ‘isnan’ of integer values in WebGLRenderingContext::viewport?

No.

If there is a need to handle non-numeric values in the JavaScript binding, then that has to be done in the JavaScript binding machinery. Calling isnan on an int does no good.

    -- Darin




More information about the webkit-dev mailing list