KhronosGroup / OpenGL-Refpages

OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
427 stars 134 forks source link

Wrong description of isnan #66

Closed BrokenMatrix closed 5 years ago

BrokenMatrix commented 5 years ago

The page for isnan states

For each element i of the result, isinf returns true if x[i] is posititve or negative floating point NaN (Not a Number) and false otherwise.

The problem is where it refers to the function as "isinf" when it should be referring to the "isnan" function.

Located at line 46 of This File

oddhack commented 5 years ago

Thanks!