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

copysign - x with sign changed to sign of y.

Authors

TheKhronosGroup

Description

       Returns x with its sign changed to match the sign of y.

Name

       copysign - x with sign changed to sign of y.

       gentypecopysign(gentypex,gentypey);

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also