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

sin,_sincos,_sinh,_sinpi,_half_sin,_native_sin - Sine functions.

Authors

TheKhronosGroup

Description

sin computes the sine.

       sincos computes sine and cosine of x. The computed sine is the return value and computed cosine is
       returned in cosval.

       sinh computes the hyperbolic sine.

       sinpi computes sin (pi*x).

       half_sin computes sine.  x must be in the range -216... +216.

       native_sin computes sine over an implementation-defined range. The maximum error is
       implementation-defined.

Name

       sin,_sincos,_sinh,_sinpi,_half_sin,_native_sin - Sine functions.

       gentypesin(gentype);gentypesincos(gentypex,__globalgentype*cosval);gentypesincos(gentypex,__localgentype*cosval);gentypesincos(gentypex,__privategentype*cosval);gentypesinh(gentype);gentypesinpi(gentypex);gentypehalf_sin(gentypex);gentypenative_sin(gentypex);

Notes

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

The Khronos Group                                  11/18/2024                         SIN,SINCOS,SINH,S(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also