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:
324 bytes
|
Line | |
---|
1 | #include "headers/acoshf4.h" |
---|
2 | #include "headers/dom_chkf_less_than.h" |
---|
3 | |
---|
4 | static __inline float _acoshf(float x) |
---|
5 | { |
---|
6 | float res; |
---|
7 | vector float vx; |
---|
8 | vector float vc = { 1.0, 1.0, 1.0, 1.0 }; |
---|
9 | |
---|
10 | vx = spu_promote(x, 0); |
---|
11 | res = spu_extract(_acoshf4(vx), 0); |
---|
12 | #ifndef _IEEE_LIBM |
---|
13 | dom_chkf_less_than(vx, vc); |
---|
14 | #endif |
---|
15 | return res; |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.