#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, double, ...);
int main(int argc, char **argv) {
  int a = (2 * 3);
  int b = (1 / 5);
  int c = (1 / 2);
  int d = (3 / 2);
  int e = (1 / 3);
  int f = (2 / 3);
  double g = (1.0 / 5);
  double h = (1.0 / 2);
  double i = (3.0 / 2);
  double j = (1.0 / 3);
  double k = (2.0 / 3);
  double l = (1 / 5.0);
  double m = (1 / 2.0);
  double n = (3 / 2.0);
  double o = (1 / 3.0);
  double p = (2 / 3.0);
  printf("a = %i\n", a);
  printf("b = %i\n", b);
  printf("c = %i\n", c);
  printf("d = %i\n", d);
  printf("e = %i\n", e);
  printf("f = %i\n", f);
  printf("g = %.06f\n    %.20f\n", g, g);
  printf("h = %.06f\n    %.20f\n", h, h);
  printf("i = %.06f\n    %.20f\n", i, i);
  printf("j = %.06f\n    %.20f\n", j, j);
  printf("k = %.06f\n    %.20f\n", k, k);
  printf("l = %.06f\n    %.20f\n", l, l);
  printf("m = %.06f\n    %.20f\n", m, m);
  printf("n = %.06f\n    %.20f\n", n, n);
  printf("o = %.06f\n    %.20f\n", o, o);
  printf("p = %.06f\n    %.20f\n", p, p);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x6,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x1,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
movsd  0xecc(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xeb7(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xea2(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xe8d(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe78(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xe8b(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe76(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xe61(%rip),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xe4c(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xe37(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
cvtsi2sdl -0x14(%rbp),%xmm0
lea    0xe4e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x18(%rbp),%xmm0
lea    0xe43(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x1c(%rbp),%xmm0
lea    0xe38(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x20(%rbp),%xmm0
lea    0xe2d(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x24(%rbp),%xmm0
lea    0xe22(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdl -0x28(%rbp),%xmm0
lea    0xe17(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
lea    0xe07(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
lea    0xe04(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
lea    0xe01(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
lea    0xdfe(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x50(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
lea    0xdfb(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
lea    0xdf8(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x60(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
lea    0xdf5(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x68(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
lea    0xdf2(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x70(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
lea    0xdef(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
lea    0xdec(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf20(%rip),%rdi
movsd  0xee0(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf09(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
movsd  0xeb0(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
movsd  0xe80(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
movsd  0xe6f(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xed8(%rip),%rdi
movsd  0xe5e(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xed4(%rip),%rdi
movsd  0xe4d(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xed0(%rip),%rdi
movsd  0xe3c(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xecc(%rip),%rdi
movsd  0xe03(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xec8(%rip),%rdi
movsd  0xdf2(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
movsd  0xde1(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
movsd  0xdd0(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xebc(%rip),%rdi
movsd  0xdbf(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [8 x i8] c"a = %i\0A\00"
@.str.1 = [8 x i8] c"b = %i\0A\00"
@.str.2 = [8 x i8] c"c = %i\0A\00"
@.str.3 = [8 x i8] c"d = %i\0A\00"
@.str.4 = [8 x i8] c"e = %i\0A\00"
@.str.5 = [8 x i8] c"f = %i\0A\00"
@.str.6 = [21 x i8] c"g = %.06f\0A %.20f\0A\00"
@.str.7 = [21 x i8] c"h = %.06f\0A %.20f\0A\00"
@.str.8 = [21 x i8] c"i = %.06f\0A %.20f\0A\00"
@.str.9 = [21 x i8] c"j = %.06f\0A %.20f\0A\00"
@.str.10 = [21 x i8] c"k = %.06f\0A %.20f\0A\00"
@.str.11 = [21 x i8] c"l = %.06f\0A %.20f\0A\00"
@.str.12 = [21 x i8] c"m = %.06f\0A %.20f\0A\00"
@.str.13 = [21 x i8] c"n = %.06f\0A %.20f\0A\00"
@.str.14 = [21 x i8] c"o = %.06f\0A %.20f\0A\00"
@.str.15 = [21 x i8] c"p = %.06f\0A %.20f\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
store i32 %0, i32* %3
store i8** %1, i8*** %4
store i32 6, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 1, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
store double 2.000000e-01, double* %11
store double 5.000000e-01, double* %12
store double 1.500000e+00, double* %13
store double 0x3FD5555555555555, double* %14
store double 0x3FE5555555555555, double* %15
store double 2.000000e-01, double* %16
store double 5.000000e-01, double* %17
store double 1.500000e+00, double* %18
store double 0x3FD5555555555555, double* %19
store double 0x3FE5555555555555, double* %20
%21 = load i32, i32* %5
%22 = sitofp i32 %21 to double
%23 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double %22)
%24 = load i32, i32* %6
%25 = sitofp i32 %24 to double
%26 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), double %25)
%27 = load i32, i32* %7
%28 = sitofp i32 %27 to double
%29 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double %28)
%30 = load i32, i32* %8
%31 = sitofp i32 %30 to double
%32 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), double %31)
%33 = load i32, i32* %9
%34 = sitofp i32 %33 to double
%35 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double %34)
%36 = load i32, i32* %10
%37 = sitofp i32 %36 to double
%38 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), double %37)
%39 = load double, double* %11
%40 = load double, double* %11
%41 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double %39, double %40)
%42 = load double, double* %12
%43 = load double, double* %12
%44 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), double %42, double %43)
%45 = load double, double* %13
%46 = load double, double* %13
%47 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), double %45, double %46)
%48 = load double, double* %14
%49 = load double, double* %14
%50 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double %48, double %49)
%51 = load double, double* %15
%52 = load double, double* %15
%53 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), double %51, double %52)
%54 = load double, double* %16
%55 = load double, double* %16
%56 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), double %54, double %55)
%57 = load double, double* %17
%58 = load double, double* %17
%59 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), double %57, double %58)
%60 = load double, double* %18
%61 = load double, double* %18
%62 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), double %60, double %61)
%63 = load double, double* %19
%64 = load double, double* %19
%65 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), double %63, double %64)
%66 = load double, double* %20
%67 = load double, double* %20
%68 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), double %66, double %67)
ret i32 0
}

LLVM IR (-O2):
@.str = [8 x i8] c"a = %i\0A\00"
@.str.1 = [8 x i8] c"b = %i\0A\00"
@.str.2 = [8 x i8] c"c = %i\0A\00"
@.str.3 = [8 x i8] c"d = %i\0A\00"
@.str.4 = [8 x i8] c"e = %i\0A\00"
@.str.5 = [8 x i8] c"f = %i\0A\00"
@.str.6 = [21 x i8] c"g = %.06f\0A %.20f\0A\00"
@.str.7 = [21 x i8] c"h = %.06f\0A %.20f\0A\00"
@.str.8 = [21 x i8] c"i = %.06f\0A %.20f\0A\00"
@.str.9 = [21 x i8] c"j = %.06f\0A %.20f\0A\00"
@.str.10 = [21 x i8] c"k = %.06f\0A %.20f\0A\00"
@.str.11 = [21 x i8] c"l = %.06f\0A %.20f\0A\00"
@.str.12 = [21 x i8] c"m = %.06f\0A %.20f\0A\00"
@.str.13 = [21 x i8] c"n = %.06f\0A %.20f\0A\00"
@.str.14 = [21 x i8] c"o = %.06f\0A %.20f\0A\00"
@.str.15 = [21 x i8] c"p = %.06f\0A %.20f\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), double 6.000000e+00)
%4 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), double 0.000000e+00)
%5 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00)
%6 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), double 1.000000e+00)
%7 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), double 0.000000e+00)
%8 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), double 0.000000e+00)
%9 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double 2.000000e-01, double 2.000000e-01)
%10 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), double 5.000000e-01, double 5.000000e-01)
%11 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), double 1.500000e+00, double 1.500000e+00)
%12 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double 0x3FD5555555555555, double 0x3FD5555555555555)
%13 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), double 0x3FE5555555555555, double 0x3FE5555555555555)
%14 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), double 2.000000e-01, double 2.000000e-01)
%15 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), double 5.000000e-01, double 5.000000e-01)
%16 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), double 1.500000e+00, double 1.500000e+00)
%17 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), double 0x3FD5555555555555, double 0x3FD5555555555555)
%18 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), double 0x3FE5555555555555, double 0x3FE5555555555555)
ret i32 0
}