Sincos - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
void amd_vrsa_sincosf(int len, const float *src, float *sin, float *cos)#

Computes sine and cosine elementwise for float array.

Parameters:
  • len – Number of elements.

  • src – Input array.

  • sin – Output array for sines.

  • cos – Output array for cosines.

void amd_vrda_sincos(int len, const double *src, double *sin, double *cos)#

Computes sine and cosine elementwise for double array.

Parameters:
  • len – Number of elements.

  • src – Input array.

  • sin – Output array for sines.

  • cos – Output array for cosines.