test/sdi: make use of sfdc generated stubs file.
[AROS.git] / compiler / stdc / _fenv.c
blobaa7f926202a053a5f0641825932947e0e9fb3834
1 /* The functions of fenv.h may be static inline functions which may not be
2 * available for the shared library. Which of the functions may depend
3 * on cpu arch.
4 * Add some stub function to make them available. In stdc.conf the
5 * function name with _ prepended will be used.
6 */
8 #include <fenv.h>
10 int _feclearexcept(int excepts)
12 return feclearexcept(excepts);
15 int _fegetexceptflag(fexcept_t *flagp, int excepts) {
16 return fegetexceptflag(flagp, excepts);
19 int _fesetexceptflag(const fexcept_t *flagp, int excepts) {
20 return fesetexceptflag(flagp, excepts);
23 int _feraiseexcept(int excepts) {
24 return feraiseexcept(excepts);
27 int _fetestexcept(int excepts) {
28 return fetestexcept(excepts);
31 int _fegetround(void) {
32 return fegetround();
35 int _fesetround(int round) {
36 return fesetround(round);
39 int _fegetenv(fenv_t *envp) {
40 return fegetenv(envp);
43 int _feholdexcept(fenv_t *envp) {
44 return feholdexcept(envp);
47 int _fesetenv(const fenv_t *envp) {
48 return fesetenv(envp);
51 int _feupdateenv(const fenv_t *envp) {
52 return feupdateenv(envp);