URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libm/] [machine/] [spu/] [headers/] [log10.h] - Rev 345
Compare with Previous | Blame | View Log
#include "headers/log10d2.h" #include "headers/dom_chkd_less_than.h" static __inline double _log10(double x) { double res; vector double vx; vector double vc = { 0.0, 0.0 }; vx = spu_promote(x, 0); res = spu_extract(_log10d2(vx), 0); #ifndef _IEEE_LIBM dom_chkd_less_than(vx, vc); #endif return res; }