ofDocsdocumentation glm gtculp (functions)

gtculp (functions)


glm::float_distance( ... )

glm::uint glm::float_distance(const T &x, const T &y)

Return the distance in the number of ULP between 2 scalars.

See also: gtc_ulp


glm::next_float( ... )

genType glm::next_float(const genType &x)

Return the next ULP value(s) after the input value(s).

See also: gtc_ulp


glm::next_float( ... )

genType glm::next_float(const genType &x, const glm::uint &Distance)

Return the value(s) ULP distance after the input value(s).

See also: gtc_ulp


glm::prev_float( ... )

genType glm::prev_float(const genType &x)

Return the previous ULP value(s) before the input value(s).

See also: gtc_ulp


glm::prev_float( ... )

genType glm::prev_float(const genType &x, const glm::uint &Distance)

Return the value(s) ULP distance before the input value(s).

See also: gtc_ulp