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

fract - Fractional value in x.

Authors

TheKhronosGroup

Description

       Returns fmin(3clc)( x - floor(3clc)(x), 0x1.fffffep-1f ).  floor(3clc)(x) is returned in iptr.

Name

       fract - Fractional value in x.

       gentypefract(gentypex,__globalgentype*itpr);gentypefract(gentypex,__localgentype*itpr);gentypefract(gentypex,__privategentype*itpr);

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also