#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 */
double fabs(double);
int /*<<< orphan*/ printf(char *, ...);
int truncf(int);
main() {
  double x = 0.71428571;
  double y = 0.33333333;
  double u = 0.714251;
  double v = 98765.9;
  double w = 0.0000111111;
  double res1 = x - y;
  double res1_5 =
      truncf(((truncf(x * 1e5) / 1e5) - (truncf(y * 1e5) / 1e5)) * 1e5) / 1e5;
  double ea1 = fabs(res1 - res1_5);
  double er1 = fabs(ea1) / fabs(res1);
  printf(" x-y: \n val8 %1.8f \n Aritmetica máquina %1.5f \n Error Absoluto "
         "%1.8f \n Error Relativo %1.8f \n",
         res1, res1_5, ea1, er1);
  printf("------------------------------------------\n");
  double res2 = x / y;
  double res2_5 =
      truncf(((truncf(x * 1e5) / 1e5) / (truncf(y * 1e5) / 1e5)) * 1e5) / 1e5;
  double ea2 = fabs(res2 - res2_5);
  double er2 = fabs(ea2) / fabs(res2);
  printf(" x/y: \n val8 %1.8f \n Aritmetica máquina %1.5f \n Error Absoluto "
         "%1.8f \n Error Relativo %1.8f \n",
         res2, res2_5, ea2, er2);
  printf("------------------------------------------\n");
  double res3 = (x - u) / w;
  double res3_5 = truncf((((truncf(x * 1e5) / 1e5) - (truncf(u * 1e5) / 1e5)) /
                          (truncf(w * 1e5) / 1e5)) *
                         1e5) /
                  1e5;
  double ea3 = fabs(res3 - res3_5);
  double er3 = fabs(ea3) / fabs(res3);
  printf(" (x-u)/w: \n val8 %1.8f \n Aritmetica máquina %1.5f \n Error "
         "Absoluto %1.8f \n Error Relativo %1.8f \n",
         res3, res3_5, ea3, er3);
  printf("------------------------------------------\n");
  double res4 = u + v;
  double res4_5 =
      truncf(((truncf(u * 1e5) / 1e5) + (truncf(v * 1e5) / 1e5)) * 1e5) / 1e5;
  double ea4 = fabs(res4 - res4_5);
  double er4 = fabs(ea4) / fabs(res4);
  printf(" u+v: \n val8 %1.8f \n Aritmetica máquina %1.5f \n Error Absoluto "
         "%1.8f \n Error Relativo %1.8f \n",
         res4, res4_5, ea4, er4);
  printf("------------------------------------------\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movsd  0xf05(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  0xef0(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xedb(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xec6(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xeb1(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
subsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe8d(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xe73(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xe5f(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
movsd  -0xd0(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
movsd  0xe3d(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  0xe2d(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xe14(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
movaps 0xdea(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movaps 0xdd5(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movaps 0xdc5(%rip),%xmm2
pand   %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm3
lea    0xddd(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xe2e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xd81(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xd67(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xd53(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
movsd  -0xc8(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
movsd  0xd31(%rip),%xmm2
divsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  0xd21(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xd08(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x50(%rbp),%xmm0
subsd  -0x58(%rbp),%xmm0
movaps 0xcde(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movaps 0xcc9(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x50(%rbp),%xmm1
movaps 0xcb9(%rip),%xmm2
pand   %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
lea    0xd5c(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xd22(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
divsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xc70(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xc56(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xc42(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
movsd  -0xc0(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
movsd  0xc20(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xc08(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
movsd  -0xb8(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
movsd  0xbe6(%rip),%xmm2
divsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  0xbd6(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xbbd(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x70(%rbp),%xmm0
subsd  -0x78(%rbp),%xmm0
movaps 0xb93(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
movaps 0xb7e(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x70(%rbp),%xmm1
movaps 0xb6e(%rip),%xmm2
pand   %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
movsd  -0x80(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm3
ff
lea    0xc6a(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xbd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x18(%rbp),%xmm0
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xb21(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xb07(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xaf3(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
movsd  -0xb0(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
movsd  0xad1(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  0xac1(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <truncf@plt>
cvtsi2sd %eax,%xmm0
movsd  0xaa8(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
subsd  -0x98(%rbp),%xmm0
ff
movaps 0xa75(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0xa5a(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x90(%rbp),%xmm1
ff
movaps 0xa47(%rip),%xmm2
pand   %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm1
ff
movsd  -0xa0(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm3
ff
lea    0xb9d(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xaa1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
mov    $0x11704,%edi
call   1050 <truncf@plt>
mov    %eax,%ebx
mov    $0x8235,%edi
call   1050 <truncf@plt>
movd   %ebx,%xmm0
movd   %eax,%xmm1
punpckldq %xmm1,%xmm0
cvtdq2pd %xmm0,%xmm0
divpd  0xe9f(%rip),%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
subsd  %xmm1,%xmm0
mulsd  0xeab(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1050 <truncf@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
divsd  0xe93(%rip),%xmm1
movsd  0xe93(%rip),%xmm0
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
andpd  0xe6b(%rip),%xmm2
movapd %xmm2,%xmm3
divsd  %xmm0,%xmm3
lea    0xe94(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
lea    0x1006(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    $0x11704,%edi
call   1050 <truncf@plt>
mov    %eax,%ebp
mov    $0x8235,%edi
call   1050 <truncf@plt>
movd   %ebp,%xmm0
movd   %eax,%xmm1
punpckldq %xmm1,%xmm0
cvtdq2pd %xmm0,%xmm0
divpd  0xe08(%rip),%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
divsd  %xmm1,%xmm0
mulsd  0xe14(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1050 <truncf@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
divsd  0xdfc(%rip),%xmm1
movsd  0xe04(%rip),%xmm0
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
andpd  0xdd4(%rip),%xmm2
movapd %xmm2,%xmm3
divsd  %xmm0,%xmm3
lea    0xe5c(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    $0x11704,%edi
call   1050 <truncf@plt>
mov    %eax,%ebp
mov    $0x11701,%edi
call   1050 <truncf@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
divsd  0xda1(%rip),%xmm0
movsd  %xmm0,(%rsp)
mov    $0x1,%edi
call   1050 <truncf@plt>
movd   %ebp,%xmm0
movd   %eax,%xmm1
punpckldq %xmm1,%xmm0
cvtdq2pd %xmm0,%xmm0
divpd  0xd5a(%rip),%xmm0
movapd %xmm0,%xmm1
subsd  (%rsp),%xmm1
unpckhpd %xmm0,%xmm0
divsd  %xmm0,%xmm1
mulsd  0xd61(%rip),%xmm1
cvttsd2si %xmm1,%edi
call   1050 <truncf@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
divsd  0xd49(%rip),%xmm1
movsd  0xd59(%rip),%xmm0
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
andpd  0xd21(%rip),%xmm2
movapd %xmm2,%xmm3
divsd  %xmm0,%xmm3
lea    0xe08(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    $0x11701,%edi
call   1050 <truncf@plt>
mov    %eax,%ebp
call   1050 <truncf@plt>
movd   %ebp,%xmm0
movd   %eax,%xmm1
punpckldq %xmm1,%xmm0
cvtdq2pd %xmm0,%xmm0
divpd  0xcca(%rip),%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  0xcd6(%rip),%xmm1
cvttsd2si %xmm1,%edi
call   1050 <truncf@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
divsd  0xcbe(%rip),%xmm1
movsd  0xcd6(%rip),%xmm0
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
andpd  0xc96(%rip),%xmm2
movapd %xmm2,%xmm3
divsd  %xmm0,%xmm3
lea    0xde0(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [95 x i8] c" x-y: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.1 = [44 x i8] c"------------------------------------------\0A\00"
@.str.2 = [95 x i8] c" x/y: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.3 = [99 x i8] c" (x-u)/w: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.4 = [95 x i8] c" u+v: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
define i32 @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%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
%21 = alloca double
store double 0x3FE6DB6DB48E678C, double* %1
store double 0x3FD5555551C112DA, double* %2
store double 7.142510e-01, double* %3
store double 0x40F81CDE66666666, double* %4
store double 1.111110e-05, double* %5
%22 = load double, double* %1
%23 = load double, double* %2
%24 = fsub double %22, %23
store double %24, double* %6
%25 = load double, double* %1
%26 = fmul double %25, 1.000000e+05
%27 = fptosi double %26 to i32
%28 = call i32 @truncf(i32 %27)
%29 = sitofp i32 %28 to double
%30 = fdiv double %29, 1.000000e+05
%31 = load double, double* %2
%32 = fmul double %31, 1.000000e+05
%33 = fptosi double %32 to i32
%34 = call i32 @truncf(i32 %33)
%35 = sitofp i32 %34 to double
%36 = fdiv double %35, 1.000000e+05
%37 = fsub double %30, %36
%38 = fmul double %37, 1.000000e+05
%39 = fptosi double %38 to i32
%40 = call i32 @truncf(i32 %39)
%41 = sitofp i32 %40 to double
%42 = fdiv double %41, 1.000000e+05
store double %42, double* %7
%43 = load double, double* %6
%44 = load double, double* %7
%45 = fsub double %43, %44
%46 = call double @llvm.fabs.f64(double %45)
store double %46, double* %8
%47 = load double, double* %8
%48 = call double @llvm.fabs.f64(double %47)
%49 = load double, double* %6
%50 = call double @llvm.fabs.f64(double %49)
%51 = fdiv double %48, %50
store double %51, double* %9
%52 = load double, double* %6
%53 = load double, double* %7
%54 = load double, double* %8
%55 = load double, double* %9
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str, i64 0, i64 0), double %52, double %53, double %54, double %55)
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%58 = load double, double* %1
%59 = load double, double* %2
%60 = fdiv double %58, %59
store double %60, double* %10
%61 = load double, double* %1
%62 = fmul double %61, 1.000000e+05
%63 = fptosi double %62 to i32
%64 = call i32 @truncf(i32 %63)
%65 = sitofp i32 %64 to double
%66 = fdiv double %65, 1.000000e+05
%67 = load double, double* %2
%68 = fmul double %67, 1.000000e+05
%69 = fptosi double %68 to i32
%70 = call i32 @truncf(i32 %69)
%71 = sitofp i32 %70 to double
%72 = fdiv double %71, 1.000000e+05
%73 = fdiv double %66, %72
%74 = fmul double %73, 1.000000e+05
%75 = fptosi double %74 to i32
%76 = call i32 @truncf(i32 %75)
%77 = sitofp i32 %76 to double
%78 = fdiv double %77, 1.000000e+05
store double %78, double* %11
%79 = load double, double* %10
%80 = load double, double* %11
%81 = fsub double %79, %80
%82 = call double @llvm.fabs.f64(double %81)
store double %82, double* %12
%83 = load double, double* %12
%84 = call double @llvm.fabs.f64(double %83)
%85 = load double, double* %10
%86 = call double @llvm.fabs.f64(double %85)
%87 = fdiv double %84, %86
store double %87, double* %13
%88 = load double, double* %10
%89 = load double, double* %11
%90 = load double, double* %12
%91 = load double, double* %13
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.2, i64 0, i64 0), double %88, double %89, double %90, double %91)
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%94 = load double, double* %1
%95 = load double, double* %3
%96 = fsub double %94, %95
%97 = load double, double* %5
%98 = fdiv double %96, %97
store double %98, double* %14
%99 = load double, double* %1
%100 = fmul double %99, 1.000000e+05
%101 = fptosi double %100 to i32
%102 = call i32 @truncf(i32 %101)
%103 = sitofp i32 %102 to double
%104 = fdiv double %103, 1.000000e+05
%105 = load double, double* %3
%106 = fmul double %105, 1.000000e+05
%107 = fptosi double %106 to i32
%108 = call i32 @truncf(i32 %107)
%109 = sitofp i32 %108 to double
%110 = fdiv double %109, 1.000000e+05
%111 = fsub double %104, %110
%112 = load double, double* %5
%113 = fmul double %112, 1.000000e+05
%114 = fptosi double %113 to i32
%115 = call i32 @truncf(i32 %114)
%116 = sitofp i32 %115 to double
%117 = fdiv double %116, 1.000000e+05
%118 = fdiv double %111, %117
%119 = fmul double %118, 1.000000e+05
%120 = fptosi double %119 to i32
%121 = call i32 @truncf(i32 %120)
%122 = sitofp i32 %121 to double
%123 = fdiv double %122, 1.000000e+05
store double %123, double* %15
%124 = load double, double* %14
%125 = load double, double* %15
%126 = fsub double %124, %125
%127 = call double @llvm.fabs.f64(double %126)
store double %127, double* %16
%128 = load double, double* %16
%129 = call double @llvm.fabs.f64(double %128)
%130 = load double, double* %14
%131 = call double @llvm.fabs.f64(double %130)
%132 = fdiv double %129, %131
store double %132, double* %17
%133 = load double, double* %14
%134 = load double, double* %15
%135 = load double, double* %16
%136 = load double, double* %17
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.3, i64 0, i64 0), double %133, double %134, double %135, double %136)
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%139 = load double, double* %3
%140 = load double, double* %4
%141 = fadd double %139, %140
store double %141, double* %18
%142 = load double, double* %3
%143 = fmul double %142, 1.000000e+05
%144 = fptosi double %143 to i32
%145 = call i32 @truncf(i32 %144)
%146 = sitofp i32 %145 to double
%147 = fdiv double %146, 1.000000e+05
%148 = load double, double* %4
%149 = fmul double %148, 1.000000e+05
%150 = fptosi double %149 to i32
%151 = call i32 @truncf(i32 %150)
%152 = sitofp i32 %151 to double
%153 = fdiv double %152, 1.000000e+05
%154 = fadd double %147, %153
%155 = fmul double %154, 1.000000e+05
%156 = fptosi double %155 to i32
%157 = call i32 @truncf(i32 %156)
%158 = sitofp i32 %157 to double
%159 = fdiv double %158, 1.000000e+05
store double %159, double* %19
%160 = load double, double* %18
%161 = load double, double* %19
%162 = fsub double %160, %161
%163 = call double @llvm.fabs.f64(double %162)
store double %163, double* %20
%164 = load double, double* %20
%165 = call double @llvm.fabs.f64(double %164)
%166 = load double, double* %18
%167 = call double @llvm.fabs.f64(double %166)
%168 = fdiv double %165, %167
store double %168, double* %21
%169 = load double, double* %18
%170 = load double, double* %19
%171 = load double, double* %20
%172 = load double, double* %21
%173 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.4, i64 0, i64 0), double %169, double %170, double %171, double %172)
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [95 x i8] c" x-y: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.2 = [95 x i8] c" x/y: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.3 = [99 x i8] c" (x-u)/w: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@.str.4 = [95 x i8] c" u+v: \0A val8 %1.8f \0A Aritmetica m\C3\A1quina %1.5f \0A Error Absoluto %1.8f \0A Error Relativo %1.8f \0A\00"
@str.7 = [43 x i8] c"------------------------------------------\00"
define i32 @main() {
%1 = tail call i32 @truncf(i32 71428)
%2 = tail call i32 @truncf(i32 33333)
%3 = insertelement <2 x i32> poison, i32 %1, i64 0
%4 = insertelement <2 x i32> %3, i32 %2, i64 1
%5 = sitofp <2 x i32> %4 to <2 x double>
%6 = fdiv <2 x double> %5, <double 1.000000e+05, double 1.000000e+05>
%7 = shufflevector <2 x double> %6, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%8 = fsub <2 x double> %6, %7
%9 = extractelement <2 x double> %8, i64 0
%10 = fmul double %9, 1.000000e+05
%11 = fptosi double %10 to i32
%12 = tail call i32 @truncf(i32 %11)
%13 = sitofp i32 %12 to double
%14 = fdiv double %13, 1.000000e+05
%15 = fsub double 0x3FD86186175BBC3E, %14
%16 = tail call double @llvm.fabs.f64(double %15)
%17 = fdiv double %16, 0x3FD86186175BBC3E
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str, i64 0, i64 0), double 0x3FD86186175BBC3E, double %14, double %16, double %17)
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.7, i64 0, i64 0))
%20 = tail call i32 @truncf(i32 71428)
%21 = tail call i32 @truncf(i32 33333)
%22 = insertelement <2 x i32> poison, i32 %20, i64 0
%23 = insertelement <2 x i32> %22, i32 %21, i64 1
%24 = sitofp <2 x i32> %23 to <2 x double>
%25 = fdiv <2 x double> %24, <double 1.000000e+05, double 1.000000e+05>
%26 = extractelement <2 x double> %25, i64 0
%27 = extractelement <2 x double> %25, i64 1
%28 = fdiv double %26, %27
%29 = fmul double %28, 1.000000e+05
%30 = fptosi double %29 to i32
%31 = tail call i32 @truncf(i32 %30)
%32 = sitofp i32 %31 to double
%33 = fdiv double %32, 1.000000e+05
%34 = fsub double 0x400124924A4B155F, %33
%35 = tail call double @llvm.fabs.f64(double %34)
%36 = fdiv double %35, 0x400124924A4B155F
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str.2, i64 0, i64 0), double 0x400124924A4B155F, double %33, double %35, double %36)
%38 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.7, i64 0, i64 0))
%39 = tail call i32 @truncf(i32 71428)
%40 = tail call i32 @truncf(i32 71425)
%41 = sitofp i32 %40 to double
%42 = fdiv double %41, 1.000000e+05
%43 = tail call i32 @truncf(i32 1)
%44 = insertelement <2 x i32> poison, i32 %39, i64 0
%45 = insertelement <2 x i32> %44, i32 %43, i64 1
%46 = sitofp <2 x i32> %45 to <2 x double>
%47 = fdiv <2 x double> %46, <double 1.000000e+05, double 1.000000e+05>
%48 = extractelement <2 x double> %47, i64 0
%49 = fsub double %48, %42
%50 = extractelement <2 x double> %47, i64 1
%51 = fdiv double %49, %50
%52 = fmul double %51, 1.000000e+05
%53 = fptosi double %52 to i32
%54 = tail call i32 @truncf(i32 %53)
%55 = sitofp i32 %54 to double
%56 = fdiv double %55, 1.000000e+05
%57 = fsub double 0x4008FDC0EBC844C9, %56
%58 = tail call double @llvm.fabs.f64(double %57)
%59 = fdiv double %58, 0x4008FDC0EBC844C9
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.3, i64 0, i64 0), double 0x4008FDC0EBC844C9, double %56, double %58, double %59)
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.7, i64 0, i64 0))
%62 = tail call i32 @truncf(i32 71425)
%63 = tail call i32 @truncf(i32 poison)
%64 = insertelement <2 x i32> poison, i32 %62, i64 0
%65 = insertelement <2 x i32> %64, i32 %63, i64 1
%66 = sitofp <2 x i32> %65 to <2 x double>
%67 = fdiv <2 x double> %66, <double 1.000000e+05, double 1.000000e+05>
%68 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%69 = fadd <2 x double> %67, %68
%70 = extractelement <2 x double> %69, i64 0
%71 = fmul double %70, 1.000000e+05
%72 = fptosi double %71 to i32
%73 = tail call i32 @truncf(i32 %72)
%74 = sitofp i32 %73 to double
%75 = fdiv double %74, 1.000000e+05
%76 = fsub double 0x40F81CE9D3F8DB48, %75
%77 = tail call double @llvm.fabs.f64(double %76)
%78 = fdiv double %77, 0x40F81CE9D3F8DB48
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str.4, i64 0, i64 0), double 0x40F81CE9D3F8DB48, double %75, double %77, double %78)
%80 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.7, i64 0, i64 0))
ret i32 0
}