riscv: Support $ in identifiers in extended asm.
[tinycc.git] / tests / tests2 / 132_bound_test.c
blob4898e8d726dcbb9171553cbb22088ec28979636c
1 #include <stdio.h>
2 #include <float.h>
4 union ieee_double_extract
6 struct {
7 unsigned int manl:32;
8 unsigned int manh:20;
9 unsigned int exp:11;
10 unsigned int sig:1;
11 } s;
12 double d;
15 double scale(double d)
17 union ieee_double_extract x;
19 x.d = d;
20 x.d *= 1000;
21 return x.d;
24 int
25 main(void)
27 printf("%g\n", scale(42));
28 return 0;