float32_issue.bx
Bx
1extrn printf;
2
3int main() {
4 float32 x, y;
5 printf("Before: x = %.3f, y = %.3f\n", x, y);
6
7 float a = 8.50;
8 float b = 7.50;
9 printf("After float ops: a = %.3f, b = %.3f\n", a, b);
10
11 x = 1.25;
12 y = 2.75;
13 printf("After assignment: x = %.3f, y = %.3f\n", x, y);
14
15 printf("result: x = %.3f, y = %.3f\n", x, y);
16 return (0);
17}