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

modf - Decompose a floating-point number.

Authors

TheKhronosGroup

Description

       Decompose a floating-point number. The modf function breaks the argument x into integral and fractional
       parts, each of which has the same sign as the argument. It stores the integral part in the object pointed
       to by iptr.

Name

       modf - Decompose a floating-point number.

       gentypemodf(gentypex,__globalgentype*iptr);gentypemodf(gentypex,__localgentype*iptr);gentypemodf(gentypex,__privategentype*iptr);

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also