Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sincosf.h « headers « spu « machine « libm « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e67e997016a5bd0c5455dd2b404433643022d305 (plain)
1
2
3
4
5
6
7
8
9
10
#include "headers/sincosf4.h"

static __inline void _sincosf(float angle, float* sinx, float* cosx)
{
  vector float vsinx, vcosx;

  _sincosf4(spu_promote(angle, 0), &vsinx, &vcosx);
  *sinx = spu_extract(vsinx, 0);
  *cosx = spu_extract(vcosx, 0);
}