std.cfg: Improved documentation and added ilogb function support.

This commit is contained in:
Martin Ettl 2015-01-18 15:05:06 +01:00
parent 7c91dd2da6
commit 8dab677eac
1 changed files with 57 additions and 0 deletions

View File

@ -2138,6 +2138,7 @@
<not-uninit/>
</arg>
</function>
<!-- int mblen(const char *string, size_t size); -->
<function name="mblen">
<use-retval/>
<noreturn>false</noreturn>
@ -2198,6 +2199,7 @@
<noreturn>false</noreturn>
<leak-ignore/>
</function>
<!-- size_t mbstowcs(wchar_t *ws, const char *s, size_t n); -->
<function name="mbstowcs">
<noreturn>false</noreturn>
<leak-ignore/>
@ -2728,6 +2730,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int labs(long int x); -->
<function name="labs">
<use-retval/>
<pure/>
@ -2737,6 +2740,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llabs(long long int x);-->
<function name="llabs">
<use-retval/>
<pure/>
@ -2746,6 +2750,7 @@
<not-uninit/>
</arg>
</function>
<!-- double ldexp(double x, int exp); -->
<function name="ldexp">
<use-retval/>
<pure/>
@ -2758,6 +2763,7 @@
<not-uninit/>
</arg>
</function>
<!-- float ldexpf(float x, int exp); -->
<function name="ldexpf">
<use-retval/>
<pure/>
@ -2770,6 +2776,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double ldexpl(long double x, int exp); -->
<function name="ldexpl">
<use-retval/>
<pure/>
@ -2782,6 +2789,7 @@
<not-uninit/>
</arg>
</function>
<!-- double lgamma(double x); -->
<function name="lgamma">
<use-retval/>
<pure/>
@ -2791,6 +2799,7 @@
<not-uninit/>
</arg>
</function>
<!-- float lgammaf(float x); -->
<function name="lgammaf">
<use-retval/>
<pure/>
@ -2800,6 +2809,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double lgammal(long double x); -->
<function name="lgammal">
<use-retval/>
<pure/>
@ -2836,6 +2846,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lrint(double x); -->
<function name="lrint">
<use-retval/>
<pure/>
@ -2845,6 +2856,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lrintf(float x); -->
<function name="lrintf">
<use-retval/>
<pure/>
@ -2854,6 +2866,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lrintl(long double x); -->
<function name="lrintl">
<use-retval/>
<pure/>
@ -2863,6 +2876,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llrint(double x); -->
<function name="llrint">
<use-retval/>
<pure/>
@ -2872,6 +2886,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llrintf(float x); -->
<function name="llrintf">
<use-retval/>
<pure/>
@ -2881,6 +2896,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llrintl(long double x); -->
<function name="llrintl">
<use-retval/>
<pure/>
@ -2890,6 +2906,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llround(double x); -->
<function name="llround">
<use-retval/>
<pure/>
@ -2899,6 +2916,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llroundf(float x); -->
<function name="llroundf">
<use-retval/>
<pure/>
@ -2908,6 +2926,7 @@
<not-uninit/>
</arg>
</function>
<!-- long long int llroundl(long double x); -->
<function name="llroundl">
<use-retval/>
<pure/>
@ -2917,6 +2936,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lround(double x); -->
<function name="lround">
<use-retval/>
<pure/>
@ -2926,6 +2946,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lroundf(float x); -->
<function name="lroundf">
<use-retval/>
<pure/>
@ -2935,6 +2956,7 @@
<not-uninit/>
</arg>
</function>
<!-- long int lroundl(long double x); -->
<function name="lroundl">
<use-retval/>
<pure/>
@ -2956,6 +2978,7 @@
<not-uninit/>
</arg>
</function>
<!-- ldiv_t ldiv(long int num, long int denom); -->
<function name="ldiv">
<pure/>
<noreturn>false</noreturn>
@ -2967,6 +2990,7 @@
<not-uninit/>
</arg>
</function>
<!-- lldiv_t lldiv(long long int num, long long int denom); -->
<function name="lldiv">
<pure/>
<noreturn>false</noreturn>
@ -2978,6 +3002,7 @@
<not-uninit/>
</arg>
</function>
<!-- struct tm * localtime(const time_t *tp); -->
<function name="localtime">
<noreturn>false</noreturn>
<leak-ignore/>
@ -3077,6 +3102,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isfinite (double x); -->
<function name="isfinite">
<pure/>
<use-retval/>
@ -3086,6 +3112,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isgreater(double x, double y); -->
<function name="isgreater">
<pure/>
<use-retval/>
@ -3098,6 +3125,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isgreaterequal(double x, double y); -->
<function name="isgreaterequal">
<pure/>
<use-retval/>
@ -3110,6 +3138,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isinf(double x); -->
<function name="isinf">
<pure/>
<use-retval/>
@ -3146,6 +3175,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isless(double x, double y); -->
<function name="isless">
<pure/>
<use-retval/>
@ -3158,6 +3188,7 @@
<not-uninit/>
</arg>
</function>
<!-- int islessequal(double x, double y); -->
<function name="islessequal">
<pure/>
<use-retval/>
@ -3170,6 +3201,7 @@
<not-uninit/>
</arg>
</function>
<!-- int islessgreater(double x, double y); -->
<function name="islessgreater">
<pure/>
<use-retval/>
@ -3182,6 +3214,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isnan(double x); -->
<function name="isnan">
<pure/>
<use-retval/>
@ -3191,6 +3224,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isnormal(double x); -->
<function name="isnormal">
<pure/>
<use-retval/>
@ -3200,6 +3234,7 @@
<not-uninit/>
</arg>
</function>
<!-- int isunordered(double x, double y);-->
<function name="isunordered">
<pure/>
<use-retval/>
@ -3212,6 +3247,17 @@
<not-uninit/>
</arg>
</function>
<!-- int ilogb(double x); -->
<function name="ilogb">
<pure/>
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int ilogb(float x); -->
<function name="ilogbf">
<pure/>
<use-retval/>
@ -3221,6 +3267,7 @@
<not-uninit/>
</arg>
</function>
<!-- int ilogb(long double x); -->
<function name="ilogbl">
<pure/>
<use-retval/>
@ -3230,6 +3277,7 @@
<not-uninit/>
</arg>
</function>
<!-- double log10(double x); -->
<function name="log10">
<pure/>
<use-retval/>
@ -3239,6 +3287,7 @@
<not-uninit/>
</arg>
</function>
<!-- float log10f(float x);-->
<function name="log10f">
<pure/>
<use-retval/>
@ -3248,6 +3297,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double log10l(long double x); -->
<function name="log10l">
<pure/>
<use-retval/>
@ -3257,6 +3307,7 @@
<not-uninit/>
</arg>
</function>
<!-- double log1p(double x); -->
<function name="log1p">
<pure/>
<use-retval/>
@ -3266,6 +3317,7 @@
<not-uninit/>
</arg>
</function>
<!-- float log1pf(float x); -->
<function name="log1pf">
<pure/>
<use-retval/>
@ -3275,6 +3327,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double log1pl(long double x); -->
<function name="log1pl">
<pure/>
<use-retval/>
@ -3284,6 +3337,7 @@
<not-uninit/>
</arg>
</function>
<!-- double log2(double x); -->
<function name="log2">
<pure/>
<use-retval/>
@ -3293,6 +3347,7 @@
<not-uninit/>
</arg>
</function>
<!-- float log2f(float x); -->
<function name="log2f">
<pure/>
<use-retval/>
@ -3302,6 +3357,7 @@
<not-uninit/>
</arg>
</function>
<!-- long double log2l(long double x); -->
<function name="log2l">
<pure/>
<use-retval/>
@ -3421,6 +3477,7 @@
<not-uninit/>
</arg>
</function>
<!-- void * malloc(size_t size); -->
<function name="malloc">
<use-retval/>
<noreturn>false</noreturn>