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/] [acosh.h] - Rev 825

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

#include "headers/acoshd2.h"
#include "headers/dom_chkd_less_than.h"
 
static __inline double _acosh(double x)
{
  double res;
  vector double vx;
  vector double vc = { 1.0, 1.0 };
 
  vx = spu_promote(x, 0);
  res = spu_extract(_acoshd2(vx), 0);
#ifndef _IEEE_LIBM
  dom_chkd_less_than(vx, vc);
#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.