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

tan,_tanh,_tanpi,_half_tan,_native_tan - Tangent functions.

Authors

TheKhronosGroup

Description

tan computes the tangent.

       tanh computes the hyperbolic tangent.

       tanpi computes tan(pi*x).

       half_tan computes tangent.  x must be in the range -216... +216.

       native_tan computes tangent over an implementation-defined range. The maximum error is
       implementation-defined.

Name

       tan,_tanh,_tanpi,_half_tan,_native_tan - Tangent functions.

       gentypetan(gentype);gentypetanh(gentype);gentypetanpi(gentypex);gentypehalf_tan(gentypex);gentypenative_tan(gentypex);

Notes

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

The Khronos Group                                  11/18/2024                         TAN,TANH,TANPI,HA(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also