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)
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.