source: trunk/libs/newlib/src/newlib/libm/machine/spu/headers/atan2.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 157 bytes
Line 
1#include "headers/atan2d2.h"
2
3static __inline double _atan2(double y, double x)
4{
5  return spu_extract(_atan2d2(spu_promote(y, 0), spu_promote(x, 0)), 0);
6}
Note: See TracBrowser for help on using the repository browser.