#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*/ exit(int /*<<< orphan*/);
int exp(float);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float *, float *);
int main(void) {
  float x0 = -10, x1 = 0, x2 = 0, y0 = 0, y1 = 0, y2 = 0;
  int iter = 0;
  printf("The Solution for the Equation using secant method : e^x-2x-1=0 \n");
  printf("Enter The two guesses for the root :");
  scanf("%f %f", &x0, &x1);
  y0 = exp(x0) - 2 * x0 - 1, y1 = exp(x1) - 2 * x1 - 1;
  if (y0 == 0) {
    printf("The solution is %f\n", x0);
    exit(0);
  } else if (y1 == 0) {
    printf("The solution is %f\n", x1);
    exit(0);
  }
  printf("Iteration  \tx0  \t x1  \t x2 \t   f(x0) \t f(x1) \t  f(x2)\n");
  do {
    x2 = (x0 * y1 - x1 * y0) / (y1 - y0);
    y2 = exp(x2) - 2 * x2 - 1;
    printf("\n%d\t  %f   %f  %f  %f  %f   %f\n", (++iter), x0, x1, x2, y0, y1,
           y2);
    y0 = y1;
    y1 = y2;
    x0 = x1;
    x1 = x2;
  } while (exp(x2) - 2 * x2 - 1 >= 0.000001 ||
           exp(x2) - 2 * x2 - 1 <= -0.000001);
  printf("\nThe solution is %f ", x2);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xead(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x10(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x14(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed0(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1050 <scanf@plt>
movss  -0x8(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2ss %eax,%xmm0
movss  -0x8(%rbp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
movss  0xe22(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0xc(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2ss %eax,%xmm0
movss  -0xc(%rbp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
movss  0xdf6(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x14(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1248 <main+0x108>
jp     1248 <main+0x108>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe4a(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1060 <exit@plt>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    127d <main+0x13d>
jp     127d <main+0x13d>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe15(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1060 <exit@plt>
jmp    1282 <main+0x142>
lea    0xe0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
movss  -0x18(%rbp),%xmm2
movss  -0xc(%rbp),%xmm1
mulss  -0x14(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x18(%rbp),%xmm1
subss  -0x14(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x10(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2ss %eax,%xmm0
movss  -0x10(%rbp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
movss  0xd11(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x20(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x20(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  -0x14(%rbp),%xmm3
cvtss2sd %xmm3,%xmm3
movss  -0x18(%rbp),%xmm4
cvtss2sd %xmm4,%xmm4
movss  -0x1c(%rbp),%xmm5
cvtss2sd %xmm5,%xmm5
lea    0xd91(%rip),%rdi
mov    $0x6,%al
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x10(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2ss %eax,%xmm0
movss  -0x10(%rbp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
movss  0xc70(%rip),%xmm1
subss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
mov    $0x1,%al
movsd  0xc66(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x21(%rbp)
jae    13ec <main+0x2ac>
movss  -0x10(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2ss %eax,%xmm0
movss  -0x10(%rbp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
movss  0xc2e(%rip),%xmm1
subss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc2e(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
mov    %al,-0x21(%rbp)
mov    -0x21(%rbp),%al
test   $0x1,%al
jne    1290 <main+0x150>
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xce8(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x48,%rsp
movl   $0xc1200000,0x8(%rsp)
c1
movl   $0x0,0x4(%rsp)
lea    0xf2e(%rip),%rdi
call   1030 <puts@plt>
lea    0xeae(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec5(%rip),%rdi
lea    0x8(%rsp),%rsi
lea    0x4(%rsp),%rdx
call   1060 <scanf@plt>
movss  0x8(%rsp),%xmm0
call   1050 <exp@plt>
mov    %eax,%ebx
movss  0x4(%rsp),%xmm0
movss  0x8(%rsp),%xmm1
movaps %xmm1,0x10(%rsp)
call   1050 <exp@plt>
movd   %ebx,%xmm0
movd   %eax,%xmm1
punpckldq %xmm0,%xmm1
cvtdq2ps %xmm1,%xmm3
movss  0x4(%rsp),%xmm0
movaps %xmm0,%xmm1
unpcklps 0x10(%rsp),%xmm1
addps  %xmm1,%xmm1
subps  %xmm1,%xmm3
addps  0xe1c(%rip),%xmm3
movaps %xmm3,%xmm2
shufps $0x55,%xmm3,%xmm2
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm2
jne    11f9 <main+0xa9>
jnp    138f <main+0x23f>
movaps %xmm3,0x20(%rsp)
ucomiss %xmm1,%xmm3
jne    1209 <main+0xb9>
jnp    1395 <main+0x245>
lea    0xecc(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%ebx
lea    0xe46(%rip),%r14
movaps 0x20(%rsp),%xmm1
jmp    123d <main+0xed>
nopl   0x0(%rax,%rax,1)
movaps 0x30(%rsp),%xmm1
unpcklps 0x20(%rsp),%xmm1
add    $0x1,%ebx
movaps %xmm1,0x20(%rsp)
movaps %xmm1,%xmm3
shufps $0x55,%xmm1,%xmm3
movaps %xmm3,0x30(%rsp)
movss  0x4(%rsp),%xmm2
mulss  %xmm3,%xmm2
movss  0x8(%rsp),%xmm0
mulss  %xmm1,%xmm0
subss  %xmm2,%xmm0
movaps %xmm1,%xmm2
subss  %xmm3,%xmm2
divss  %xmm2,%xmm0
movss  %xmm0,0x10(%rsp)
call   1050 <exp@plt>
xorps  %xmm5,%xmm5
cvtsi2ss %eax,%xmm5
movss  0x10(%rsp),%xmm2
movaps %xmm2,%xmm0
mulss  0xd7c(%rip),%xmm0
movss  %xmm0,0xc(%rsp)
addss  %xmm0,%xmm5
movss  0xd6e(%rip),%xmm0
addss  %xmm0,%xmm5
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x4(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
movaps 0x30(%rsp),%xmm3
cvtss2sd %xmm3,%xmm3
movaps 0x20(%rsp),%xmm4
cvtss2sd %xmm4,%xmm4
movaps %xmm5,0x30(%rsp)
cvtss2sd %xmm5,%xmm5
mov    %r14,%rdi
mov    %ebx,%esi
movsd  %xmm2,0x40(%rsp)
mov    $0x6,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x10(%rsp),%xmm0
movss  %xmm0,0x4(%rsp)
call   1050 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
addss  0xc(%rsp),%xmm0
addss  0xcf3(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
ucomisd 0xceb(%rip),%xmm0
jae    1230 <main+0xe0>
movss  0x10(%rsp),%xmm0
call   1050 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  0x10(%rsp),%xmm1
addss  %xmm1,%xmm1
subss  %xmm1,%xmm0
addss  0xcb9(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcb9(%rip),%xmm1
ucomisd %xmm0,%xmm1
jae    1230 <main+0xe0>
lea    0xd0f(%rip),%rdi
movsd  0x40(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r14
ret
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcb3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [65 x i8] c"The Solution for the Equation using secant method : e^x-2x-1=0 \0A\00"
@.str.1 = [37 x i8] c"Enter The two guesses for the root :\00"
@.str.2 = [6 x i8] c"%f %f\00"
@.str.3 = [20 x i8] c"The solution is %f\0A\00"
@.str.4 = [55 x i8] c"Iteration \09x0 \09 x1 \09 x2 \09 f(x0) \09 f(x1) \09 f(x2)\0A\00"
@.str.5 = [32 x i8] c"\0A%d\09 %f %f %f %f %f %f\0A\00"
@.str.6 = [21 x i8] c"\0AThe solution is %f \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca i32
store i32 0, i32* %1
store float -1.000000e+01, float* %2
store float 0.000000e+00, float* %3
store float 0.000000e+00, float* %4
store float 0.000000e+00, float* %5
store float 0.000000e+00, float* %6
store float 0.000000e+00, float* %7
store i32 0, i32* %8
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), float* %2, float* %3)
%12 = load float, float* %2
%13 = call i32 @exp(float %12)
%14 = sitofp i32 %13 to float
%15 = load float, float* %2
%16 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %15, float %14)
%17 = fsub float %16, 1.000000e+00
store float %17, float* %5
%18 = load float, float* %3
%19 = call i32 @exp(float %18)
%20 = sitofp i32 %19 to float
%21 = load float, float* %3
%22 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %21, float %20)
%23 = fsub float %22, 1.000000e+00
store float %23, float* %6
%24 = load float, float* %5
%25 = fcmp oeq float %24, 0.000000e+00
br i1 %25, label %26, label %31
26: ; preds = %0
%27 = load float, float* %2
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %28)
%30 = call i32 @exit(i32 0)
unreachable
31: ; preds = %0
%32 = load float, float* %6
%33 = fcmp oeq float %32, 0.000000e+00
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load float, float* %3
%36 = fpext float %35 to double
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %36)
%38 = call i32 @exit(i32 0)
unreachable
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.4, i64 0, i64 0))
br label %42
42: ; preds = %97, %40
%43 = load float, float* %2
%44 = load float, float* %6
%45 = load float, float* %3
%46 = load float, float* %5
%47 = fmul float %45, %46
%48 = fneg float %47
%49 = call float @llvm.fmuladd.f32(float %43, float %44, float %48)
%50 = load float, float* %6
%51 = load float, float* %5
%52 = fsub float %50, %51
%53 = fdiv float %49, %52
store float %53, float* %4
%54 = load float, float* %4
%55 = call i32 @exp(float %54)
%56 = sitofp i32 %55 to float
%57 = load float, float* %4
%58 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %57, float %56)
%59 = fsub float %58, 1.000000e+00
store float %59, float* %7
%60 = load i32, i32* %8
%61 = add nsw i32 %60, 1
store i32 %61, i32* %8
%62 = load float, float* %2
%63 = fpext float %62 to double
%64 = load float, float* %3
%65 = fpext float %64 to double
%66 = load float, float* %4
%67 = fpext float %66 to double
%68 = load float, float* %5
%69 = fpext float %68 to double
%70 = load float, float* %6
%71 = fpext float %70 to double
%72 = load float, float* %7
%73 = fpext float %72 to double
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %61, double %63, double %65, double %67, double %69, double %71, double %73)
%75 = load float, float* %6
store float %75, float* %5
%76 = load float, float* %7
store float %76, float* %6
%77 = load float, float* %3
store float %77, float* %2
%78 = load float, float* %4
store float %78, float* %3
br label %79
79: ; preds = %42
%80 = load float, float* %4
%81 = call i32 @exp(float %80)
%82 = sitofp i32 %81 to float
%83 = load float, float* %4
%84 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %83, float %82)
%85 = fsub float %84, 1.000000e+00
%86 = fpext float %85 to double
%87 = fcmp oge double %86, 0x3EB0C6F7A0B5ED8D
br i1 %87, label %97, label %88
88: ; preds = %79
%89 = load float, float* %4
%90 = call i32 @exp(float %89)
%91 = sitofp i32 %90 to float
%92 = load float, float* %4
%93 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %92, float %91)
%94 = fsub float %93, 1.000000e+00
%95 = fpext float %94 to double
%96 = fcmp ole double %95, 0xBEB0C6F7A0B5ED8D
br label %97
97: ; preds = %88, %79
%98 = phi i1 [ true, %79 ], [ %96, %88 ]
br i1 %98, label %42, label %99
99: ; preds = %97
%100 = load float, float* %4
%101 = fpext float %100 to double
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double %101)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [37 x i8] c"Enter The two guesses for the root :\00"
@.str.2 = [6 x i8] c"%f %f\00"
@.str.3 = [20 x i8] c"The solution is %f\0A\00"
@.str.5 = [32 x i8] c"\0A%d\09 %f %f %f %f %f %f\0A\00"
@.str.6 = [21 x i8] c"\0AThe solution is %f \00"
@str = [64 x i8] c"The Solution for the Equation using secant method : e^x-2x-1=0 \00"
@str.7 = [54 x i8] c"Iteration \09x0 \09 x1 \09 x2 \09 f(x0) \09 f(x1) \09 f(x2)\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = bitcast float* %1 to i8*
store float -1.000000e+01, float* %1
%4 = bitcast float* %2 to i8*
store float 0.000000e+00, float* %2
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), float* %1, float* %2)
%8 = load float, float* %1
%9 = call i32 @exp(float %8)
%10 = load float, float* %1
%11 = load float, float* %2
%12 = call i32 @exp(float %11)
%13 = insertelement <2 x i32> poison, i32 %12, i64 0
%14 = insertelement <2 x i32> %13, i32 %9, i64 1
%15 = sitofp <2 x i32> %14 to <2 x float>
%16 = load float, float* %2
%17 = insertelement <2 x float> poison, float %16, i64 0
%18 = insertelement <2 x float> %17, float %10, i64 1
%19 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %18, <2 x float> <float -2.000000e+00, float -2.000000e+00>, <2 x float> %15)
%20 = fadd <2 x float> %19, <float -1.000000e+00, float -1.000000e+00>
%21 = extractelement <2 x float> %20, i64 1
%22 = fcmp oeq float %21, 0.000000e+00
br i1 %22, label %23, label %28
23: ; preds = %0
%24 = load float, float* %1
%25 = fpext float %24 to double
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %25)
%27 = call i32 @exit(i32 0)
unreachable
28: ; preds = %0
%29 = extractelement <2 x float> %20, i64 0
%30 = fcmp oeq float %29, 0.000000e+00
br i1 %30, label %31, label %35
31: ; preds = %28
%32 = fpext float %16 to double
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %32)
%34 = call i32 @exit(i32 0)
unreachable
35: ; preds = %28
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.7, i64 0, i64 0))
br label %37
37: ; preds = %79, %35
%38 = phi i32 [ 0, %35 ], [ %53, %79 ]
%39 = phi <2 x float> [ %20, %35 ], [ %71, %79 ]
%40 = load float, float* %1
%41 = load float, float* %2
%42 = fneg float %41
%43 = extractelement <2 x float> %39, i64 1
%44 = fmul float %43, %42
%45 = extractelement <2 x float> %39, i64 0
%46 = call float @llvm.fmuladd.f32(float %40, float %45, float %44)
%47 = fsub float %45, %43
%48 = fdiv float %46, %47
%49 = call i32 @exp(float %48)
%50 = sitofp i32 %49 to float
%51 = call float @llvm.fmuladd.f32(float %48, float -2.000000e+00, float %50)
%52 = fadd float %51, -1.000000e+00
%53 = add nuw nsw i32 %38, 1
%54 = load float, float* %1
%55 = fpext float %54 to double
%56 = load float, float* %2
%57 = fpext float %56 to double
%58 = fpext float %48 to double
%59 = fpext float %43 to double
%60 = fpext float %45 to double
%61 = fpext float %52 to double
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %53, double %55, double %57, double %58, double %59, double %60, double %61)
%63 = load float, float* %2
store float %63, float* %1
store float %48, float* %2
%64 = call i32 @exp(float %48)
%65 = sitofp i32 %64 to float
%66 = call float @llvm.fmuladd.f32(float %48, float -2.000000e+00, float %65)
%67 = fadd float %66, -1.000000e+00
%68 = fpext float %67 to double
%69 = fcmp ult double %68, 0x3EB0C6F7A0B5ED8D
%70 = insertelement <2 x float> poison, float %52, i64 0
%71 = shufflevector <2 x float> %70, <2 x float> %39, <2 x i32> <i32 0, i32 2>
br i1 %69, label %72, label %79
72: ; preds = %37
%73 = call i32 @exp(float %48)
%74 = sitofp i32 %73 to float
%75 = call float @llvm.fmuladd.f32(float %48, float -2.000000e+00, float %74)
%76 = fadd float %75, -1.000000e+00
%77 = fpext float %76 to double
%78 = fcmp ugt double %77, 0xBEB0C6F7A0B5ED8D
br i1 %78, label %80, label %79
79: ; preds = %72, %37
br label %37
80: ; preds = %72
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), double %58)
ret i32 0
}