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

remainder - Floating point remainder function.

Authors

TheKhronosGroup

Description

       Computes the value r such that r = x - n*y, where n is the integer nearest the exact value of x/y. If
       there are two integers closest to x/y, n shall be the even one. If r is zero, it is given the same sign
       as x.

Name

       remainder - Floating point remainder function.

       gentyperemainder(gentypex,gentypey);

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also