float pow(float x, float y)
float2 pow(float2 x, float2 y)
float3 pow(float3 x, float3 y)
float4 pow(float4 x, float4 y)
The function returns x raised to the power of y. The input parameters can be floating scalars or float vectors. In case of float vectors the operation is done component-wise.
float exp(float x)
float2 exp(float2 x)
float3 exp(float3 x)
float4 exp(float4 x)
The function returns the constant e raised to the power of x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float log(float x)
float2 log(float2 x)
float3 log(float3 x)
float4 log(float4 x)
The function returns the power to which the constant e has to be raised to produce x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float exp2(float x)
float2 exp2(float2 x)
float3 exp2(float3 x)
float4 exp2(float4 x)
The function returns 2 raised to the power of x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float log2(float x)
float2 log2(float2 x)
float3 log2(float3 x)
float4 log2(float4 x)
The function returns the power to which 2 has to be raised to produce x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float exp10(float x)
float2 exp10(float2 x)
float3 exp10(float3 x)
float4 exp10(float4 x)
The function returns 10 raised to the power of x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float log10(float x)
float2 log10(float2 x)
float3 log10(float3 x)
float4 log10(float4 x)
The function returns the power to which 10 has to be raised to produce x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float sqrt(float x)
float2 sqrt(float2 x)
float3 sqrt(float3 x)
float4 sqrt(float4 x)
The function returns the square root of x. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.
float rsqrt(float x)
float2 rsqrt(float2 x)
float3 rsqrt(float3 x)
float4 rsqrt(float4 x)
The function returns the inverse square root of x, i.e. the reciprocal of the square root. The input parameter can be a floating scalar or a float vector. In case of a float vector the operation is done component-wise.