#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 EXIT_SUCCESS;
double M_PI_4;
double M_SQRT1_2;
double M_SQRT2;
double err_bound(int, double, double, double);
scalar_t__ f(double);
double fabs(scalar_t__);
int /*<<< orphan*/ printf(char *, int, double, double);
scalar_t__ sinc_approx(int, double, double, double);
int main() {
  int i, N;
  double K = 1.5;
  double d = M_PI_4;
  double mu = 2.0;
  double s, t;
  double err, maxerr;
  for (N = 2; N <= 140; N += 5) {
    t = 0;
    maxerr = fabs(f(t) - sinc_approx(N, d, mu, t));
    s = 1;
    t = 1;
    err = fabs(f(t) - sinc_approx(N, d, mu, t));
    if (maxerr < err)
      maxerr = err;
    err = fabs(f(-t) - sinc_approx(N, d, mu, -t));
    if (maxerr < err)
      maxerr = err;
    for (i = 1; i <= 100; i++) {
      s *= M_SQRT1_2;
      t *= M_SQRT2;
      err = fabs(f(s) - sinc_approx(N, d, mu, s));
      if (maxerr < err)
        maxerr = err;
      err = fabs(f(-s) - sinc_approx(N, d, mu, -s));
      if (maxerr < err)
        maxerr = err;
      err = fabs(f(t) - sinc_approx(N, d, mu, t));
      if (maxerr < err)
        maxerr = err;
      err = fabs(f(-t) - sinc_approx(N, d, mu, -t));
      if (maxerr < err)
        maxerr = err;
    }
    printf("%d\t%e\t%e\n", N, maxerr, err_bound(N, K, d, mu));
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xe9e(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    0x2e72(%rip),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe79(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movl   $0x2,-0xc(%rbp)
cmpl   $0x8c,-0xc(%rbp)
jg     1520 <main+0x3d0>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1030 <f@plt>
mov    %rax,-0x58(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
call   1070 <sinc_approx@plt>
mov    -0x58(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  0xe2a(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe1d(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1030 <f@plt>
mov    %rax,-0x50(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
call   1070 <sinc_approx@plt>
mov    -0x50(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    124c <main+0xfc>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
call   1030 <f@plt>
mov    %rax,-0x60(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
call   1070 <sinc_approx@plt>
mov    -0x60(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    12ce <main+0x17e>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x1,-0x8(%rbp)
cmpl   $0x64,-0x8(%rbp)
jg     14c8 <main+0x378>
mov    0x2cea(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    0x2cdd(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1030 <f@plt>
mov    %rax,-0x68(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
call   1070 <sinc_approx@plt>
mov    -0x68(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    135d <main+0x20d>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
call   1030 <f@plt>
mov    %rax,-0x70(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
call   1070 <sinc_approx@plt>
mov    -0x70(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    13df <main+0x28f>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1030 <f@plt>
mov    %rax,-0x78(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
call   1070 <sinc_approx@plt>
mov    -0x78(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1433 <main+0x2e3>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
call   1030 <f@plt>
mov    %rax,-0x80(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
call   1070 <sinc_approx@plt>
mov    -0x80(%rbp),%rdi
sub    %rax,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    14b5 <main+0x365>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    14ba <main+0x36a>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12d5 <main+0x185>
mov    -0xc(%rbp),%eax
mov    %eax,-0x8c(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
call   1060 <err_bound@plt>
mov    -0x8c(%rbp),%esi
movaps %xmm0,%xmm1
movsd  -0x88(%rbp),%xmm0
ff
lea    0xb0b(%rip),%rdi
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x5,%eax
mov    %eax,-0xc(%rbp)
jmp    1193 <main+0x43>
mov    0x2aa1(%rip),%rax
mov    (%rax),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    0x2e83(%rip),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0x2,%r12d
mov    0x2e54(%rip),%r13
mov    0x2e55(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
xorpd  %xmm0,%xmm0
call   1030 <f@plt>
mov    %rax,%r15
xorps  %xmm2,%xmm2
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xe50(%rip),%xmm1
call   1070 <sinc_approx@plt>
sub    %rax,%r15
mov    %r15,%rdi
call   1050 <fabs@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xe3a(%rip),%xmm0
call   1030 <f@plt>
mov    %rax,%r15
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xe19(%rip),%xmm1
movsd  0xe19(%rip),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%r15
mov    %r15,%rdi
call   1050 <fabs@plt>
maxsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdfd(%rip),%xmm0
call   1030 <f@plt>
mov    %rax,%r15
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xdd4(%rip),%xmm1
movsd  0xddc(%rip),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%r15
mov    %r15,%rdi
call   1050 <fabs@plt>
maxsd  0x10(%rsp),%xmm0
movsd  %xmm0,(%rsp)
mov    $0x64,%ebp
movsd  0xdac(%rip),%xmm1
movaps %xmm1,%xmm0
movaps %xmm1,0x10(%rsp)
movaps %xmm1,0x20(%rsp)
nopl   0x0(%rax)
movapd 0x20(%rsp),%xmm1
mulsd  0x0(%r13),%xmm1
movapd %xmm1,0x20(%rsp)
movapd 0x10(%rsp),%xmm0
mulsd  (%r14),%xmm0
movapd %xmm0,0x10(%rsp)
movapd %xmm1,%xmm0
call   1030 <f@plt>
mov    %rax,%rbx
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xd50(%rip),%xmm1
movaps 0x20(%rsp),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%rbx
mov    %rbx,%rdi
call   1050 <fabs@plt>
maxsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movaps 0x20(%rsp),%xmm1
movaps 0xd45(%rip),%xmm0
xorps  %xmm0,%xmm1
movaps %xmm1,0x30(%rsp)
movaps %xmm1,%xmm0
call   1030 <f@plt>
mov    %rax,%rbx
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xd01(%rip),%xmm1
movaps 0x30(%rsp),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%rbx
mov    %rbx,%rdi
call   1050 <fabs@plt>
maxsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movaps 0x10(%rsp),%xmm0
call   1030 <f@plt>
mov    %rax,%rbx
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xcc4(%rip),%xmm1
movaps 0x10(%rsp),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%rbx
mov    %rbx,%rdi
call   1050 <fabs@plt>
maxsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movaps 0x10(%rsp),%xmm0
xorps  0xcb9(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
call   1030 <f@plt>
mov    %rax,%rbx
mov    %r12d,%edi
movsd  0x8(%rsp),%xmm0
movsd  0xc7b(%rip),%xmm1
movaps 0x30(%rsp),%xmm2
call   1070 <sinc_approx@plt>
sub    %rax,%rbx
mov    %rbx,%rdi
call   1050 <fabs@plt>
maxsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
add    $0xffffffff,%ebp
jne    1270 <main+0x120>
mov    %r12d,%edi
movsd  0xc60(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0xc3a(%rip),%xmm2
call   1060 <err_bound@plt>
movaps %xmm0,%xmm1
lea    0xc5b(%rip),%rdi
mov    %r12d,%esi
movsd  (%rsp),%xmm0
call   1040 <printf@plt>
lea    0x5(%r12),%eax
cmp    $0x88,%r12d
mov    %eax,%r12d
jb     1190 <main+0x40>
mov    0x2bca(%rip),%rax
mov    (%rax),%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@M_PI_4 = global double 0.000000e+00
@M_SQRT1_2 = global double 0.000000e+00
@M_SQRT2 = global double 0.000000e+00
@.str = [10 x i8] c"%d\09%e\09%e\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
store i32 0, i32* %1
store double 1.500000e+00, double* %4
%11 = load double, double* @M_PI_4
store double %11, double* %5
store double 2.000000e+00, double* %6
store i32 2, i32* %3
br label %12
12: ; preds = %143, %0
%13 = load i32, i32* %3
%14 = icmp sle i32 %13, 140
br i1 %14, label %15, label %146
15: ; preds = %12
store double 0.000000e+00, double* %8
%16 = load double, double* %8
%17 = call i64 @f(double %16)
%18 = load i32, i32* %3
%19 = load double, double* %5
%20 = load double, double* %6
%21 = load double, double* %8
%22 = call i64 @sinc_approx(i32 %18, double %19, double %20, double %21)
%23 = sub nsw i64 %17, %22
%24 = call double @fabs(i64 %23)
store double %24, double* %10
store double 1.000000e+00, double* %7
store double 1.000000e+00, double* %8
%25 = load double, double* %8
%26 = call i64 @f(double %25)
%27 = load i32, i32* %3
%28 = load double, double* %5
%29 = load double, double* %6
%30 = load double, double* %8
%31 = call i64 @sinc_approx(i32 %27, double %28, double %29, double %30)
%32 = sub nsw i64 %26, %31
%33 = call double @fabs(i64 %32)
store double %33, double* %9
%34 = load double, double* %10
%35 = load double, double* %9
%36 = fcmp olt double %34, %35
br i1 %36, label %37, label %39
37: ; preds = %15
%38 = load double, double* %9
store double %38, double* %10
br label %39
39: ; preds = %37, %15
%40 = load double, double* %8
%41 = fneg double %40
%42 = call i64 @f(double %41)
%43 = load i32, i32* %3
%44 = load double, double* %5
%45 = load double, double* %6
%46 = load double, double* %8
%47 = fneg double %46
%48 = call i64 @sinc_approx(i32 %43, double %44, double %45, double %47)
%49 = sub nsw i64 %42, %48
%50 = call double @fabs(i64 %49)
store double %50, double* %9
%51 = load double, double* %10
%52 = load double, double* %9
%53 = fcmp olt double %51, %52
br i1 %53, label %54, label %56
54: ; preds = %39
%55 = load double, double* %9
store double %55, double* %10
br label %56
56: ; preds = %54, %39
store i32 1, i32* %2
br label %57
57: ; preds = %131, %56
%58 = load i32, i32* %2
%59 = icmp sle i32 %58, 100
br i1 %59, label %60, label %134
60: ; preds = %57
%61 = load double, double* @M_SQRT1_2
%62 = load double, double* %7
%63 = fmul double %62, %61
store double %63, double* %7
%64 = load double, double* @M_SQRT2
%65 = load double, double* %8
%66 = fmul double %65, %64
store double %66, double* %8
%67 = load double, double* %7
%68 = call i64 @f(double %67)
%69 = load i32, i32* %3
%70 = load double, double* %5
%71 = load double, double* %6
%72 = load double, double* %7
%73 = call i64 @sinc_approx(i32 %69, double %70, double %71, double %72)
%74 = sub nsw i64 %68, %73
%75 = call double @fabs(i64 %74)
store double %75, double* %9
%76 = load double, double* %10
%77 = load double, double* %9
%78 = fcmp olt double %76, %77
br i1 %78, label %79, label %81
79: ; preds = %60
%80 = load double, double* %9
store double %80, double* %10
br label %81
81: ; preds = %79, %60
%82 = load double, double* %7
%83 = fneg double %82
%84 = call i64 @f(double %83)
%85 = load i32, i32* %3
%86 = load double, double* %5
%87 = load double, double* %6
%88 = load double, double* %7
%89 = fneg double %88
%90 = call i64 @sinc_approx(i32 %85, double %86, double %87, double %89)
%91 = sub nsw i64 %84, %90
%92 = call double @fabs(i64 %91)
store double %92, double* %9
%93 = load double, double* %10
%94 = load double, double* %9
%95 = fcmp olt double %93, %94
br i1 %95, label %96, label %98
96: ; preds = %81
%97 = load double, double* %9
store double %97, double* %10
br label %98
98: ; preds = %96, %81
%99 = load double, double* %8
%100 = call i64 @f(double %99)
%101 = load i32, i32* %3
%102 = load double, double* %5
%103 = load double, double* %6
%104 = load double, double* %8
%105 = call i64 @sinc_approx(i32 %101, double %102, double %103, double %104)
%106 = sub nsw i64 %100, %105
%107 = call double @fabs(i64 %106)
store double %107, double* %9
%108 = load double, double* %10
%109 = load double, double* %9
%110 = fcmp olt double %108, %109
br i1 %110, label %111, label %113
111: ; preds = %98
%112 = load double, double* %9
store double %112, double* %10
br label %113
113: ; preds = %111, %98
%114 = load double, double* %8
%115 = fneg double %114
%116 = call i64 @f(double %115)
%117 = load i32, i32* %3
%118 = load double, double* %5
%119 = load double, double* %6
%120 = load double, double* %8
%121 = fneg double %120
%122 = call i64 @sinc_approx(i32 %117, double %118, double %119, double %121)
%123 = sub nsw i64 %116, %122
%124 = call double @fabs(i64 %123)
store double %124, double* %9
%125 = load double, double* %10
%126 = load double, double* %9
%127 = fcmp olt double %125, %126
br i1 %127, label %128, label %130
128: ; preds = %113
%129 = load double, double* %9
store double %129, double* %10
br label %130
130: ; preds = %128, %113
br label %131
131: ; preds = %130
%132 = load i32, i32* %2
%133 = add nsw i32 %132, 1
store i32 %133, i32* %2
br label %57
134: ; preds = %57
%135 = load i32, i32* %3
%136 = load double, double* %10
%137 = load i32, i32* %3
%138 = load double, double* %4
%139 = load double, double* %5
%140 = load double, double* %6
%141 = call double @err_bound(i32 %137, double %138, double %139, double %140)
%142 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 %135, double %136, double %141)
br label %143
143: ; preds = %134
%144 = load i32, i32* %3
%145 = add nsw i32 %144, 5
store i32 %145, i32* %3
br label %12
146: ; preds = %12
%147 = load i32, i32* @EXIT_SUCCESS
ret i32 %147
}

LLVM IR (-O2):
@M_PI_4 = global double 0.000000e+00
@M_SQRT1_2 = global double 0.000000e+00
@M_SQRT2 = global double 0.000000e+00
@.str = [10 x i8] c"%d\09%e\09%e\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = load double, double* @M_PI_4
br label %2
2: ; preds = %0, %57
%3 = phi i32 [ 2, %0 ], [ %60, %57 ]
%4 = tail call i64 @f(double 0.000000e+00)
%5 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double 0.000000e+00)
%6 = sub nsw i64 %4, %5
%7 = tail call double @fabs(i64 %6)
%8 = tail call i64 @f(double 1.000000e+00)
%9 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double 1.000000e+00)
%10 = sub nsw i64 %8, %9
%11 = tail call double @fabs(i64 %10)
%12 = fcmp olt double %7, %11
%13 = select i1 %12, double %11, double %7
%14 = tail call i64 @f(double -1.000000e+00)
%15 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double -1.000000e+00)
%16 = sub nsw i64 %14, %15
%17 = tail call double @fabs(i64 %16)
%18 = fcmp olt double %13, %17
%19 = select i1 %18, double %17, double %13
br label %20
20: ; preds = %2, %20
%21 = phi double [ %19, %2 ], [ %54, %20 ]
%22 = phi double [ 1.000000e+00, %2 ], [ %28, %20 ]
%23 = phi double [ 1.000000e+00, %2 ], [ %26, %20 ]
%24 = phi i32 [ 1, %2 ], [ %55, %20 ]
%25 = load double, double* @M_SQRT1_2
%26 = fmul double %23, %25
%27 = load double, double* @M_SQRT2
%28 = fmul double %22, %27
%29 = tail call i64 @f(double %26)
%30 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double %26)
%31 = sub nsw i64 %29, %30
%32 = tail call double @fabs(i64 %31)
%33 = fcmp olt double %21, %32
%34 = select i1 %33, double %32, double %21
%35 = fneg double %26
%36 = tail call i64 @f(double %35)
%37 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double %35)
%38 = sub nsw i64 %36, %37
%39 = tail call double @fabs(i64 %38)
%40 = fcmp olt double %34, %39
%41 = select i1 %40, double %39, double %34
%42 = tail call i64 @f(double %28)
%43 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double %28)
%44 = sub nsw i64 %42, %43
%45 = tail call double @fabs(i64 %44)
%46 = fcmp olt double %41, %45
%47 = select i1 %46, double %45, double %41
%48 = fneg double %28
%49 = tail call i64 @f(double %48)
%50 = tail call i64 @sinc_approx(i32 %3, double %1, double 2.000000e+00, double %48)
%51 = sub nsw i64 %49, %50
%52 = tail call double @fabs(i64 %51)
%53 = fcmp olt double %47, %52
%54 = select i1 %53, double %52, double %47
%55 = add nuw nsw i32 %24, 1
%56 = icmp eq i32 %55, 101
br i1 %56, label %57, label %20
57: ; preds = %20
%58 = tail call double @err_bound(i32 %3, double 1.500000e+00, double %1, double 2.000000e+00)
%59 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 %3, double %54, double %58)
%60 = add nuw nsw i32 %3, 5
%61 = icmp ult i32 %3, 136
br i1 %61, label %2, label %62
62: ; preds = %57
%63 = load i32, i32* @EXIT_SUCCESS
ret i32 %63
}