#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 u, v, T;
  double t1;
  double r;
  u = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-100.0, 100.0);
  v = __BUILTIN_DAED_DBETWEEN_WITH_ULP(20.0, 20000.0);
  T = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-30.0, 50.0);
  t1 = 331.4 + 0.6 * T;
  r = (-t1 * v) / ((t1 + u) * (t1 + u));
  DSENSITIVITY(r);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xef9(%rip),%xmm0
movsd  0xef9(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  0xecf(%rip),%xmm0
movsd  0xecf(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x18(%rbp)
movsd  0xea5(%rip),%xmm0
movsd  0xea5(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  0xe76(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe72(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
addsd  -0x10(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
addsd  -0x10(%rbp),%xmm2
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
movsd  0xed4(%rip),%xmm0
movsd  0xed4(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xec9(%rip),%xmm0
movsd  0xec9(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xebe(%rip),%xmm0
movsd  0xebe(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
mulsd  0xeb9(%rip),%xmm0
addsd  0xeb9(%rip),%xmm0
movapd 0xeb9(%rip),%xmm1
xorpd  %xmm0,%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  0x10(%rsp),%xmm0
mulsd  %xmm0,%xmm0
divsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
store i32 0, i32* %1
%7 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.000000e+02, double 1.000000e+02)
store double %7, double* %2
%8 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 2.000000e+01, double 2.000000e+04)
store double %8, double* %3
%9 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -3.000000e+01, double 5.000000e+01)
store double %9, double* %4
%10 = load double, double* %4
%11 = call double @llvm.fmuladd.f64(double 6.000000e-01, double %10, double 3.314000e+02)
store double %11, double* %5
%12 = load double, double* %5
%13 = fneg double %12
%14 = load double, double* %3
%15 = fmul double %13, %14
%16 = load double, double* %5
%17 = load double, double* %2
%18 = fadd double %16, %17
%19 = load double, double* %5
%20 = load double, double* %2
%21 = fadd double %19, %20
%22 = fmul double %18, %21
%23 = fdiv double %15, %22
store double %23, double* %6
%24 = load double, double* %6
%25 = call i32 @DSENSITIVITY(double %24)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.000000e+02, double 1.000000e+02)
%2 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 2.000000e+01, double 2.000000e+04)
%3 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -3.000000e+01, double 5.000000e+01)
%4 = tail call double @llvm.fmuladd.f64(double %3, double 6.000000e-01, double 3.314000e+02)
%5 = fneg double %4
%6 = fmul double %2, %5
%7 = fadd double %1, %4
%8 = fmul double %7, %7
%9 = fdiv double %6, %8
%10 = tail call i32 @DSENSITIVITY(double %9)
ret i32 0
}