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

Subversion Repositories openrisc_me

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

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

#include "headers/acosd2.h"
#include "headers/dom_chkd_negone_one.h"
 
static __inline double _acos(double x)
{
  double res;
  vector double vx;
 
  vx = spu_splats(x);
  res = spu_extract(_acosd2(vx), 0);
#ifndef _IEEE_LIBM
  /*
   * Domain error if not in the interval [-1, +1]
   */
  dom_chkd_negone_one(vx);
#endif
  return res;
}
 

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.