std.cfg: Improved support for returnValue types for some math functions.

This commit is contained in:
orbitcowboy 2017-09-05 16:27:02 +02:00
parent 94c1809f26
commit 27be75b224
1 changed files with 24 additions and 3 deletions

View File

@ -282,13 +282,34 @@
</arg>
</function>
<!-- double asin(double x); -->
<!-- float asinf(float x); -->
<!-- long double asinl(long double x); -->
<function name="asin,std::asin,asinf,asinl">
<function name="asin,std::asin">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="double"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- float asinf(float x); -->
<function name="asinf">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="float"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- long double asinl(long double x); -->
<function name="asinl">
<use-retval/>
<pure/>
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="long double"/>
<arg nr="1">
<not-uninit/>
</arg>