#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 */
double JDNow();
double Eccentricity(void) {
  double ec;
  double jdnow, dt, t;
  dt = 35.0;
  dt = dt + 32.184;
  dt = dt / (36525 * 24. * 60. * 60.);
  jdnow = JDNow();
  t = (jdnow - 2451545.0) / 36525.0;
  t = t + dt;
  ec = 0.016708617 - 0.000042037 * t - 0.0000001236 * t * t;
  return (ec);
}


x86 assembly (clang, -O0):
<Eccentricity>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  0xf18(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xf03(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xee4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1030 <JDNow@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeba(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xea6(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm1
movsd  0xe71(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xe6d(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xe51(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Eccentricity>:
push   %rax
xor    %eax,%eax
call   1030 <JDNow@plt>
addsd  0xee0(%rip),%xmm0
divsd  0xee0(%rip),%xmm0
addsd  0xee0(%rip),%xmm0
movsd  0xee0(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xedc(%rip),%xmm1
movsd  0xedc(%rip),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
pop    %rax
ret

LLVM IR (-O0):
define double @Eccentricity() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
store double 3.500000e+01, double* %3
%5 = load double, double* %3
%6 = fadd double %5, 3.218400e+01
store double %6, double* %3
%7 = load double, double* %3
%8 = fdiv double %7, 3.155760e+09
store double %8, double* %3
%9 = call double (...) @JDNow()
store double %9, double* %2
%10 = load double, double* %2
%11 = fsub double %10, 0x4142B42C80000000
%12 = fdiv double %11, 3.652500e+04
store double %12, double* %4
%13 = load double, double* %4
%14 = load double, double* %3
%15 = fadd double %13, %14
store double %15, double* %4
%16 = load double, double* %4
%17 = call double @llvm.fmuladd.f64(double -4.203700e-05, double %16, double 0x3F911C104E4E3915)
%18 = load double, double* %4
%19 = fmul double 1.236000e-07, %18
%20 = load double, double* %4
%21 = fneg double %19
%22 = call double @llvm.fmuladd.f64(double %21, double %20, double %17)
store double %22, double* %1
%23 = load double, double* %1
ret double %23
}

LLVM IR (-O2):
define double @Eccentricity() {
%1 = tail call double (...) @JDNow()
%2 = fadd double %1, 0xC142B42C80000000
%3 = fdiv double %2, 3.652500e+04
%4 = fadd double %3, 0x3E56DBF70F0D61B1
%5 = tail call double @llvm.fmuladd.f64(double %4, double -4.203700e-05, double 0x3F911C104E4E3915)
%6 = fmul double %4, -1.236000e-07
%7 = tail call double @llvm.fmuladd.f64(double %6, double %4, double %5)
ret double %7
}