Skip to content

Vector Trigonometry

These instructions evaluate trigonometric functions element-wise on vectors (arrays).

OpcodeArgumentsOperands (stack)Description
sinvtypearrEvaluates the sine function for every array element
cosvtypearrEvaluates the cosine function for every array element
tanvtypearrEvaluates the tangent function for every array element
asinvtypearrEvaluates the inverse sine function for every array element
acosvtypearrEvaluates the inverse cosine function for every array element
atanvtypearrEvaluates the inverse tangent function for every array element
atan2vtypearrX, arrYEvaluates the two-argument inverse tangent function for every pair of array elements
sinhvtypearrEvaluates the hyperbolic sine function for every array element
coshvtypearrEvaluates the hyperbolic cosine function for every array element
tanhvtypearrEvaluates the hyperbolic tangent function for every array element
asinhvtypearrEvaluates the inverse hyperbolic sine function for every array element
acoshvtypearrEvaluates the inverse hyperbolic cosine function for every array element
atanhvtypearrEvaluates the inverse hyperbolic tangent function for every array element