Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 788 Bytes

tan.adoc

File metadata and controls

56 lines (31 loc) · 788 Bytes

tan, tanh, tanpi, half_tan, native_tan

Tangent functions.

gentype tan(gentype)

gentype tanh(gentype)

gentype tanpi(gentype x)

gentype half_tan(gentype x)

gentype native_tan(gentype x)

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.