Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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