std.cfg: Added support for <cfenv> (fenv.h) functions.

This commit is contained in:
orbitcowboy 2015-01-13 19:21:22 +01:00
parent c92d861b1e
commit 3f6933c7e3
1 changed files with 80 additions and 0 deletions

View File

@ -267,6 +267,86 @@
<not-null/>
</arg>
</function>
<!-- int fegetexceptflag (fexcept_t* flagp, int excepts); -->
<function name="fegetexceptflag">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- int fegetround (void); -->
<function name="fegetround">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<pure/>
</function>
<!-- int feholdexcept (fenv_t* envp); -->
<function name="feholdexcept">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
</function>
<!-- int feraiseexcept (int excepts); -->
<function name="feraiseexcept">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int fesetenv (const fenv_t* envp); -->
<function name="fesetenv">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- int fesetexceptflag (const fexcept_t* flagp, int excepts); -->
<function name="fesetexceptflag">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- int fesetround (int rdir); -->
<function name="fesetround">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int fetestexcept (int excepts); -->
<function name="fetestexcept">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int feupdateenv (const fenv_t* envp); -->
<function name="feupdateenv">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="tanhf">
<use-retval/>
<pure/>