#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*/ DSENSITIVITY(double);
double __BUILTIN_DAED_DBETWEEN_WITH_ULP(double, double);
int main(void) {
  double x;
  double res;
  x = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-1.57079632679, 1.57079632679);
  res = x - (x * x * x) / 6.0 + (x * x * x * x * x) / 120.0 -
        (x * x * x * x * x * x * x) / 5040.0;
  DSENSITIVITY(res);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xee1(%rip),%xmm0
movsd  0xee1(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xeab(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xe7a(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xe3f(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
movsd  0xed7(%rip),%xmm0
movsd  0xed7(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm0,%xmm2
mulsd  %xmm1,%xmm2
divsd  0xebe(%rip),%xmm1
mulsd  %xmm0,%xmm2
movapd %xmm0,%xmm3
mulsd  %xmm2,%xmm3
mulsd  %xmm0,%xmm3
unpcklpd %xmm3,%xmm2
divpd  0xeb2(%rip),%xmm2
addsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
unpckhpd %xmm2,%xmm2
subsd  %xmm2,%xmm1
movapd %xmm1,%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
store i32 0, i32* %1
%4 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 0xBFF921FB5443D6F4, double 0x3FF921FB5443D6F4)
store double %4, double* %2
%5 = load double, double* %2
%6 = load double, double* %2
%7 = load double, double* %2
%8 = fmul double %6, %7
%9 = load double, double* %2
%10 = fmul double %8, %9
%11 = fdiv double %10, 6.000000e+00
%12 = fsub double %5, %11
%13 = load double, double* %2
%14 = load double, double* %2
%15 = fmul double %13, %14
%16 = load double, double* %2
%17 = fmul double %15, %16
%18 = load double, double* %2
%19 = fmul double %17, %18
%20 = load double, double* %2
%21 = fmul double %19, %20
%22 = fdiv double %21, 1.200000e+02
%23 = fadd double %12, %22
%24 = load double, double* %2
%25 = load double, double* %2
%26 = fmul double %24, %25
%27 = load double, double* %2
%28 = fmul double %26, %27
%29 = load double, double* %2
%30 = fmul double %28, %29
%31 = load double, double* %2
%32 = fmul double %30, %31
%33 = load double, double* %2
%34 = fmul double %32, %33
%35 = load double, double* %2
%36 = fmul double %34, %35
%37 = fdiv double %36, 5.040000e+03
%38 = fsub double %23, %37
store double %38, double* %3
%39 = load double, double* %3
%40 = call i32 @DSENSITIVITY(double %39)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 0xBFF921FB5443D6F4, double 0x3FF921FB5443D6F4)
%2 = fmul double %1, %1
%3 = fmul double %1, %2
%4 = fdiv double %3, 6.000000e+00
%5 = fsub double %1, %4
%6 = fmul double %1, %3
%7 = fmul double %1, %6
%8 = fmul double %1, %7
%9 = fmul double %1, %8
%10 = insertelement <2 x double> poison, double %7, i64 0
%11 = insertelement <2 x double> %10, double %9, i64 1
%12 = fdiv <2 x double> %11, <double 1.200000e+02, double 5.040000e+03>
%13 = extractelement <2 x double> %12, i64 0
%14 = fadd double %5, %13
%15 = extractelement <2 x double> %12, i64 1
%16 = fsub double %14, %15
%17 = tail call i32 @DSENSITIVITY(double %16)
ret i32 0
}