#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 *, ...);
int truncf(double);
void main() {
  double x_8 = 0.71428571;
  double y_8 = 0.33333333;
  double u_8 = 0.714251;
  double v_8 = 98765.9;
  double x_5, y_5, u_5, v_5;
  double valor_a_8, maquina, err_absoluto, err_relativo;
  x_5 = truncf(x_8 * 100000) / 100000;
  y_5 = truncf(y_8 * 100000) / 100000;
  u_5 = truncf(u_8 * 100000) / 100000;
  v_5 = truncf(v_8 * 100000) / 100000;
  printf("truncado con truncf x_5: %1.5f\n", x_5);
  printf("truncado con truncf y_5: %1.5f\n", y_5);
  printf("truncado con truncf u_5: %1.5f\n", u_5);
  printf("truncado con truncf v_5: %1.5f\n", v_5);
  printf("-------------[¬ | ¬]-----------------------\n\n");
  valor_a_8 = x_8 + y_8;
  maquina = x_5 + y_5;
  err_absoluto = valor_a_8 - maquina;
  err_relativo = err_absoluto / valor_a_8;
  printf("|Operacion \t |Valor a 8 \t |Aritmetica de Maquina \t |Err Abs \t "
         "|Err Rel\n");
  printf("|X + Y \t\t |%f \t |%f \t\t |%e \t\t |%e \n", valor_a_8, maquina,
         err_absoluto, err_relativo);
  printf("------------------------------------\n\n\n");
  valor_a_8 = x_8 * y_8;
  maquina = x_5 * y_5;
  err_absoluto = valor_a_8 - maquina;
  err_relativo = err_absoluto / valor_a_8;
  printf("|Operacion \t |Valor a 8 \t |Aritmetica de Maquina \t |Err Abs \t "
         "|Err Rel\n");
  printf("|X * Y \t\t |%f \t |%f \t\t |%e \t\t |%e \n", valor_a_8, maquina,
         err_absoluto, err_relativo);
  printf("------------------------------------\n\n\n");
  valor_a_8 = x_8 - u_8;
  maquina = x_5 - u_5;
  err_absoluto = valor_a_8 - maquina;
  err_relativo = err_absoluto / valor_a_8;
  printf("|Operacion \t |Valor a 8 \t |Aritmetica de Maquina \t |Err Abs \t "
         "|Err Rel\n");
  printf("|X - Y \t\t |%f \t |%f \t\t |%e \t\t |%e \n", valor_a_8, maquina,
         err_absoluto, err_relativo);
  printf("------------------------------------\n\n\n");
  valor_a_8 = (x_8 - u_8) * v_8;
  maquina = (x_5 - u_5) * u_5;
  err_absoluto = valor_a_8 - maquina;
  err_relativo = err_absoluto / valor_a_8;
  printf("|Operacion \t |Valor a 8 \t |Aritmetica de Maquina \t |Err Abs \t "
         "|Err Rel\n");
  printf("|X - Y \t\t |%f \t |%f \t\t |%e \t\t |%e \n", valor_a_8, maquina,
         err_absoluto, err_relativo);
  printf("------------------------------------\n\n\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  0xef0(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  0xedb(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xec6(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xeb1(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe9c(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
call   1040 <truncf@plt>
mov    $0x186a0,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe79(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
call   1040 <truncf@plt>
mov    $0x186a0,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe56(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
call   1040 <truncf@plt>
mov    $0x186a0,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe33(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
call   1040 <truncf@plt>
mov    $0x186a0,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x28(%rbp),%xmm0
lea    0xe34(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xe41(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x38(%rbp),%xmm0
lea    0xe4e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x40(%rbp),%xmm0
lea    0xe5b(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x28(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
lea    0xe79(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
lea    0xe4b(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
lea    0xd5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
lea    0xdf5(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x8(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x28(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
lea    0xcdb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
lea    0xd71(%rip),%rdi
mov    $0x4,%al
call   1030 <printf@plt>
lea    0xd17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x30,%rsp
movsd  0xebf(%rip),%xmm0
call   1050 <truncf@plt>
cltq
imul   $0x14f8b589,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x2d,%rax
add    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe97(%rip),%xmm0
call   1050 <truncf@plt>
cltq
imul   $0x14f8b589,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x2d,%rax
add    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe70(%rip),%xmm0
call   1050 <truncf@plt>
cltq
imul   $0x14f8b589,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x2d,%rax
add    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xe48(%rip),%xmm0
call   1050 <truncf@plt>
cltq
imul   $0x14f8b589,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x2d,%rax
add    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x10(%rsp)
lea    0xe41(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe4d(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe5a(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe66(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xede(%rip),%rdi
call   1030 <puts@plt>
movsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xdb4(%rip),%xmm2
movapd %xmm2,%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x28(%rsp)
movapd %xmm1,%xmm0
divsd  %xmm2,%xmm0
movsd  %xmm0,0x10(%rsp)
lea    0xecc(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe22(%rip),%rdi
movsd  0xd7a(%rip),%xmm0
movsd  0x20(%rsp),%xmm1
movsd  0x28(%rsp),%xmm2
movsd  0x10(%rsp),%xmm3
mov    $0x4,%al
call   1040 <printf@plt>
lea    0xedc(%rip),%r15
mov    %r15,%rdi
call   1030 <puts@plt>
movsd  (%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xd42(%rip),%xmm2
movapd %xmm2,%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
movapd %xmm1,%xmm0
divsd  %xmm2,%xmm0
movsd  %xmm0,0x10(%rsp)
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xdd3(%rip),%rdi
movsd  0xd0f(%rip),%xmm0
movsd  (%rsp),%xmm1
movsd  0x20(%rsp),%xmm2
movsd  0x10(%rsp),%xmm3
mov    $0x4,%al
call   1040 <printf@plt>
mov    %r15,%rdi
call   1030 <puts@plt>
movsd  0x8(%rsp),%xmm0
subsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xcdd(%rip),%xmm2
movapd %xmm2,%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movapd %xmm1,%xmm0
divsd  %xmm2,%xmm0
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xd8b(%rip),%rbx
mov    %rbx,%rdi
movsd  0xca8(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
movsd  (%rsp),%xmm3
mov    $0x4,%al
call   1040 <printf@plt>
mov    %r15,%rdi
call   1030 <puts@plt>
movsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xc76(%rip),%xmm2
movapd %xmm2,%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movapd %xmm1,%xmm0
divsd  %xmm2,%xmm0
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
movsd  0xc48(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0x18(%rsp),%xmm2
movsd  (%rsp),%xmm3
mov    $0x4,%al
call   1040 <printf@plt>
mov    %r15,%rdi
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"truncado con truncf x_5: %1.5f\0A\00"
@.str.1 = [32 x i8] c"truncado con truncf y_5: %1.5f\0A\00"
@.str.2 = [32 x i8] c"truncado con truncf u_5: %1.5f\0A\00"
@.str.3 = [32 x i8] c"truncado con truncf v_5: %1.5f\0A\00"
@.str.4 = [48 x i8] c"-------------[\C2\AC | \C2\AC]-----------------------\0A\0A\00"
@.str.5 = [72 x i8] c"|Operacion \09 |Valor a 8 \09 |Aritmetica de Maquina \09 |Err Abs \09 |Err Rel\0A\00"
@.str.6 = [36 x i8] c"|X + Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
@.str.7 = [40 x i8] c"------------------------------------\0A\0A\0A\00"
@.str.8 = [36 x i8] c"|X * Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
@.str.9 = [36 x i8] c"|X - Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
define void @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
store double 0x3FE6DB6DB48E678C, double* %1
store double 0x3FD5555551C112DA, double* %2
store double 7.142510e-01, double* %3
store double 0x40F81CDE66666666, double* %4
%13 = load double, double* %1
%14 = fmul double %13, 1.000000e+05
%15 = call i32 @truncf(double %14)
%16 = sdiv i32 %15, 100000
%17 = sitofp i32 %16 to double
store double %17, double* %5
%18 = load double, double* %2
%19 = fmul double %18, 1.000000e+05
%20 = call i32 @truncf(double %19)
%21 = sdiv i32 %20, 100000
%22 = sitofp i32 %21 to double
store double %22, double* %6
%23 = load double, double* %3
%24 = fmul double %23, 1.000000e+05
%25 = call i32 @truncf(double %24)
%26 = sdiv i32 %25, 100000
%27 = sitofp i32 %26 to double
store double %27, double* %7
%28 = load double, double* %4
%29 = fmul double %28, 1.000000e+05
%30 = call i32 @truncf(double %29)
%31 = sdiv i32 %30, 100000
%32 = sitofp i32 %31 to double
store double %32, double* %8
%33 = load double, double* %5
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), double %33)
%35 = load double, double* %6
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), double %35)
%37 = load double, double* %7
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), double %37)
%39 = load double, double* %8
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), double %39)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%42 = load double, double* %1
%43 = load double, double* %2
%44 = fadd double %42, %43
store double %44, double* %9
%45 = load double, double* %5
%46 = load double, double* %6
%47 = fadd double %45, %46
store double %47, double* %10
%48 = load double, double* %9
%49 = load double, double* %10
%50 = fsub double %48, %49
store double %50, double* %11
%51 = load double, double* %11
%52 = load double, double* %9
%53 = fdiv double %51, %52
store double %53, double* %12
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%55 = load double, double* %9
%56 = load double, double* %10
%57 = load double, double* %11
%58 = load double, double* %12
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), double %55, double %56, double %57, double %58)
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%61 = load double, double* %1
%62 = load double, double* %2
%63 = fmul double %61, %62
store double %63, double* %9
%64 = load double, double* %5
%65 = load double, double* %6
%66 = fmul double %64, %65
store double %66, double* %10
%67 = load double, double* %9
%68 = load double, double* %10
%69 = fsub double %67, %68
store double %69, double* %11
%70 = load double, double* %11
%71 = load double, double* %9
%72 = fdiv double %70, %71
store double %72, double* %12
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%74 = load double, double* %9
%75 = load double, double* %10
%76 = load double, double* %11
%77 = load double, double* %12
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0), double %74, double %75, double %76, double %77)
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%80 = load double, double* %1
%81 = load double, double* %3
%82 = fsub double %80, %81
store double %82, double* %9
%83 = load double, double* %5
%84 = load double, double* %7
%85 = fsub double %83, %84
store double %85, double* %10
%86 = load double, double* %9
%87 = load double, double* %10
%88 = fsub double %86, %87
store double %88, double* %11
%89 = load double, double* %11
%90 = load double, double* %9
%91 = fdiv double %89, %90
store double %91, double* %12
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%93 = load double, double* %9
%94 = load double, double* %10
%95 = load double, double* %11
%96 = load double, double* %12
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0), double %93, double %94, double %95, double %96)
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
%99 = load double, double* %1
%100 = load double, double* %3
%101 = fsub double %99, %100
%102 = load double, double* %4
%103 = fmul double %101, %102
store double %103, double* %9
%104 = load double, double* %5
%105 = load double, double* %7
%106 = fsub double %104, %105
%107 = load double, double* %7
%108 = fmul double %106, %107
store double %108, double* %10
%109 = load double, double* %9
%110 = load double, double* %10
%111 = fsub double %109, %110
store double %111, double* %11
%112 = load double, double* %11
%113 = load double, double* %9
%114 = fdiv double %112, %113
store double %114, double* %12
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%116 = load double, double* %9
%117 = load double, double* %10
%118 = load double, double* %11
%119 = load double, double* %12
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0), double %116, double %117, double %118, double %119)
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"truncado con truncf x_5: %1.5f\0A\00"
@.str.1 = [32 x i8] c"truncado con truncf y_5: %1.5f\0A\00"
@.str.2 = [32 x i8] c"truncado con truncf u_5: %1.5f\0A\00"
@.str.3 = [32 x i8] c"truncado con truncf v_5: %1.5f\0A\00"
@.str.6 = [36 x i8] c"|X + Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
@.str.8 = [36 x i8] c"|X * Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
@.str.9 = [36 x i8] c"|X - Y \09\09 |%f \09 |%f \09\09 |%e \09\09 |%e \0A\00"
@str = [47 x i8] c"-------------[\C2\AC | \C2\AC]-----------------------\0A\00"
@str.16 = [71 x i8] c"|Operacion \09 |Valor a 8 \09 |Aritmetica de Maquina \09 |Err Abs \09 |Err Rel\00"
@str.17 = [39 x i8] c"------------------------------------\0A\0A\00"
define void @main() {
%1 = tail call i32 @truncf(double 0x40F1704922D0E560)
%2 = sdiv i32 %1, 100000
%3 = sitofp i32 %2 to double
%4 = tail call i32 @truncf(double 0x40E046AAA7EF9DB2)
%5 = sdiv i32 %4, 100000
%6 = sitofp i32 %5 to double
%7 = tail call i32 @truncf(double 0x40F1701199999999)
%8 = sdiv i32 %7, 100000
%9 = sitofp i32 %8 to double
%10 = tail call i32 @truncf(double 9.876590e+09)
%11 = sdiv i32 %10, 100000
%12 = sitofp i32 %11 to double
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), double %3)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0), double %6)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), double %9)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), double %12)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str, i64 0, i64 0))
%18 = fadd double %3, %6
%19 = fsub double 0x3FF0C30C2EB7787C, %18
%20 = fdiv double %19, 0x3FF0C30C2EB7787C
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.16, i64 0, i64 0))
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), double 0x3FF0C30C2EB7787C, double %18, double %19, double %20)
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.17, i64 0, i64 0))
%24 = fmul double %3, %6
%25 = fsub double 0x3FCE79E7964B98CE, %24
%26 = fdiv double %25, 0x3FCE79E7964B98CE
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.16, i64 0, i64 0))
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0), double 0x3FCE79E7964B98CE, double %24, double %25, double %26)
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.17, i64 0, i64 0))
%30 = fsub double %3, %9
%31 = fsub double 0x3F0232B284CD0000, %30
%32 = fdiv double %31, 0x3F0232B284CD0000
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.16, i64 0, i64 0))
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0), double 0x3F0232B284CD0000, double %30, double %31, double %32)
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.17, i64 0, i64 0))
%36 = fmul double %30, %9
%37 = fsub double 0x400B6CE173808314, %36
%38 = fdiv double %37, 0x400B6CE173808314
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.16, i64 0, i64 0))
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0), double 0x400B6CE173808314, double %36, double %37, double %38)
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.17, i64 0, i64 0))
ret void
}