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/] [log1pf.h] - Rev 158

Compare with Previous | Blame | View Log

#include "headers/log1pf4.h"
#include "headers/dom_chkf_less_than.h"
 
static __inline float _log1pf(float x)
{
  float res;
  vector float vx;
  vector float vc = { -1.0, -1.0, -1.0, -1.0 };
 
  vx = spu_promote(x, 0);
  res = spu_extract(_log1pf4(vx), 0);
#ifndef _IEEE_LIBM
  dom_chkf_less_than(vx, vc);
#endif
  return res;
}
 

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.