xref: /illumos-gate/usr/src/tools/smatch/src/validation/expand/builtin_huge_val.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 static float huge_valf(void)
2 {
3 	return __builtin_huge_valf();
4 }
5 
6 static double huge_val(void)
7 {
8 	return __builtin_huge_val();
9 }
10 
11 static long double huge_vall(void)
12 {
13 	return __builtin_huge_vall();
14 }
15 
16 
17 static float inff(void)
18 {
19 	return __builtin_inff();
20 }
21 
22 static double inf(void)
23 {
24 	return __builtin_inf();
25 }
26 
27 static long double infl(void)
28 {
29 	return __builtin_infl();
30 }
31 
32 /*
33  * check-name: builtin_huge_val expand
34  * check-command: test-linearize -Wno-decl $file
35  * check-known-to-fail
36  *
37  * check-output-ignore
38  * check-output-excludes: call
39  */
40