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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libm/] [machine/] [spu/] [headers/] [sincosf.h] - Rev 148

Go to most recent revision | Compare with Previous | Blame | View Log

#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);
}
 

Go to most recent revision | 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.