Light | Dark

inversesqrt

Name

inversesqrt — return the inverse of the square root of the parameter

Declaration

genType inversesqrt( genType x);
 

Parameters

x

Specify the value of which to take the inverse of the square root.

Description

inversesqrt returns the inverse of the square root of $x$; i.e. the value $1 \over { \sqrt x }$. The result is undefined if $x \leq 0$.

Version Support

OpenGL ES Shading Language Version
Function Name 1.00 3.00 3.10 3.20
inversesqrt (genType)

See Also

sqrt

Think you can improve this page? Edit this page on GitHub.