commonFunctions(3clc)

commonFunctions3clc

Click an item in the table below for details about that function.

clamp(3clc)Clamp x to range given by min, max
degrees(3clc)radians to degrees
commonMax(3clc)Maximum of x and y
commonMin(3clc)Minimum of x and y
mix(3clc)Linear blend of x and y
radians(3clc)degrees to radians
sign(3clc)Sign of x
smoothstep(3clc)Step and interpolate
step(3clc)0.0 if x < edge, else 1.0

Specification

OpenCL Specification[1]

Notes

1.

OpenCL Specification

page 260, section 6.12.4 - Common Functions

Releases

5 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8–9
  2. 10
  3. 11
  4. 13

Authors

The Khronos Group

From opencl-1.2-man-doc 1.0~svn33624-5.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.