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] - Rev 207

Compare with Previous | Blame | View Log

#include "headers/sincosd2.h"
 
static __inline void _sincos(double angle, double* sinx, double* cosx)
{
  vector double vsinx, vcosx;
 
  _sincosd2(spu_promote(angle, 0), &vsinx, &vcosx);
  *sinx = spu_extract(vsinx, 0);
  *cosx = spu_extract(vcosx, 0);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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