logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fdim - Positive difference between x and y.

Authors

TheKhronosGroup

Description

fdim computes x - y if x is greater than y, +0 if x is less than or equal to y.

Name

       fdim - Positive difference between x and y.

       gentypefdim(gentypex,gentypey);

Notes

        1. OpenCL Specification
           page 244, section 6.12.2 - Math Functions

The Khronos Group                                  11/18/2024                                         FDIM(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also