Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 967 Bytes

sin.adoc

File metadata and controls

62 lines (35 loc) · 967 Bytes

sin, sincos, sinh, sinpi, half_sin, native_sin

Sine functions.

gentype sin(gentype)

gentype sincos(gentype x,
               gentype *cosval)

gentype sinh(gentype)

gentype sinpi(gentype x)

gentype half_sin(gentype x)

gentype native_sin(gentype x)

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.