OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libm/] [machine/] [spu/] [headers/] [sincos.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include "headers/sincosd2.h"
2
 
3
static __inline void _sincos(double angle, double* sinx, double* cosx)
4
{
5
  vector double vsinx, vcosx;
6
 
7
  _sincosd2(spu_promote(angle, 0), &vsinx, &vcosx);
8
  *sinx = spu_extract(vsinx, 0);
9
  *cosx = spu_extract(vcosx, 0);
10
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.