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/] [atanhf.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include "headers/atanhf4.h"
2
#include "headers/dom_chkf_negone_one.h"
3
 
4
static __inline float _atanhf(float x)
5
{
6
  float res;
7
  vector float vx;
8
 
9
  vx = spu_splats(x);
10
  res = spu_extract(_atanhf4(vx), 0);
11
#ifndef _IEEE_LIBM
12
  /*
13
   * Domain error if not in the interval [-1, +1]
14
   */
15
  dom_chkf_negone_one(vx);
16
#endif
17
  return res;
18
}

powered by: WebSVN 2.1.0

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