#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 DBL_EPSILON;
int /*<<< orphan*/ fesetround(int);
int /*<<< orphan*/ printf(char *, ...);
double sqrt(double);
void dotest_1(int roundingmode, const char *desc) {
  double eps = DBL_EPSILON;
  double eps14 = eps / 4;
  double eps12 = eps / 2;
  double eps34 = 3 * eps / 4;
  double sqrteps = sqrt(eps);
  double sqrteps14 = sqrt(eps14);
  fesetround(roundingmode);
  printf("-- %s --\n", desc);
  printf("eps = %a\n", eps);
  printf("eps14 = %a\n", eps14);
  printf("eps12 = %a\n", eps12);
  printf("eps34 = %a\n", eps34);
  printf("sqrteps = %a\n", sqrteps);
  printf("sqrteps14 = %a\n", sqrteps14);
  printf("1 + eps = %a\n", 1 + eps);
  printf("1 - eps = %a\n", 1 - eps);
  printf("1 + eps14 = %a\n", 1 + eps14);
  printf("1 - eps14 = %a\n", 1 - eps14);
  printf("1 + eps12 = %a\n", 1 + eps12);
  printf("1 - eps12 = %a\n", 1 - eps12);
  printf("1 + eps34 = %a\n", 1 + eps34);
  printf("1 - eps34 = %a\n", 1 - eps34);
  printf("-1 + eps = %a\n", -1 + eps);
  printf("-1 - eps = %a\n", -1 - eps);
  printf("-1 + eps14 = %a\n", -1 + eps14);
  printf("-1 - eps14 = %a\n", -1 - eps14);
  printf("-1 + eps12 = %a\n", -1 + eps12);
  printf("-1 - eps12 = %a\n", -1 - eps12);
  printf("-1 + eps34 = %a\n", -1 + eps34);
  printf("-1 - eps34 = %a\n", -1 - eps34);
  printf("(1 + sqrteps)^2 = %a\n", (1 + sqrteps) * (1 + sqrteps));
  printf("(1 + sqrteps14)^2 = %a\n", (1 + sqrteps14) * (1 + sqrteps14));
  printf("1 / (1+eps) = %a\n", 1 / (1 + eps));
}


x86 assembly (clang, -O0):
<dotest_1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2ea2(%rip),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xeb4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xeae(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe95(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  0xe80(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x20(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x40(%rbp)
mov    -0x4(%rbp),%edi
call   1030 <fesetround@plt>
mov    -0x10(%rbp),%rsi
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0x18(%rbp),%xmm0
lea    0xe78(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x20(%rbp),%xmm0
lea    0xe83(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xe92(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xea1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x38(%rbp),%xmm0
lea    0xe09(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x40(%rbp),%xmm0
lea    0xe04(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xdb5(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
lea    0xdfa(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd9a(%rip),%xmm0
subsd  -0x18(%rbp),%xmm0
lea    0xdee(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd7f(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
lea    0xde2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd64(%rip),%xmm0
subsd  -0x20(%rbp),%xmm0
lea    0xdd8(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd49(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
lea    0xdce(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd2e(%rip),%xmm0
subsd  -0x28(%rbp),%xmm0
lea    0xdc4(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd13(%rip),%xmm0
addsd  -0x30(%rbp),%xmm0
lea    0xdba(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcf8(%rip),%xmm0
subsd  -0x30(%rbp),%xmm0
lea    0xdb0(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xce5(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
lea    0xd21(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcca(%rip),%xmm0
subsd  -0x18(%rbp),%xmm0
lea    0xd15(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcaf(%rip),%xmm0
addsd  -0x20(%rbp),%xmm0
lea    0xd09(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc94(%rip),%xmm0
subsd  -0x20(%rbp),%xmm0
lea    0xcff(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc79(%rip),%xmm0
addsd  -0x28(%rbp),%xmm0
lea    0xcf5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc5e(%rip),%xmm0
subsd  -0x28(%rbp),%xmm0
lea    0xceb(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc43(%rip),%xmm0
addsd  -0x30(%rbp),%xmm0
lea    0xce1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc28(%rip),%xmm0
subsd  -0x30(%rbp),%xmm0
lea    0xcd7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc05(%rip),%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  0xbf8(%rip),%xmm1
addsd  -0x38(%rbp),%xmm1
mulsd  %xmm1,%xmm0
lea    0xcbc(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xbd9(%rip),%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  0xbcc(%rip),%xmm1
addsd  -0x40(%rbp),%xmm1
mulsd  %xmm1,%xmm0
lea    0xca6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xbad(%rip),%xmm1
addsd  -0x18(%rbp),%xmm1
movsd  0xba0(%rip),%xmm0
divsd  %xmm1,%xmm0
lea    0xc97(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dotest_1>:
push   %rbp
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%rbx
mov    %edi,%ebp
mov    0x2ea6(%rip),%rax
movsd  (%rax),%xmm3
movsd  0xeb2(%rip),%xmm4
movapd %xmm3,%xmm2
mulsd  %xmm4,%xmm2
movsd  0xeb2(%rip),%xmm1
mulsd  %xmm3,%xmm1
xorpd  %xmm5,%xmm5
ucomisd %xmm5,%xmm3
movsd  %xmm3,0x8(%rsp)
movsd  %xmm2,0x10(%rsp)
jb     117e <dotest_1+0x4e>
sqrtsd %xmm3,%xmm0
jmp    11a9 <dotest_1+0x79>
movapd %xmm3,%xmm0
movsd  %xmm1,(%rsp)
call   1050 <sqrt@plt>
xorpd  %xmm5,%xmm5
movsd  0xe68(%rip),%xmm4
movsd  0x8(%rsp),%xmm3
movsd  0x10(%rsp),%xmm2
movsd  (%rsp),%xmm1
movsd  %xmm0,0x28(%rsp)
movsd  0xe51(%rip),%xmm0
mulsd  %xmm3,%xmm0
movsd  %xmm0,0x18(%rsp)
mulsd  %xmm4,%xmm1
movsd  %xmm1,(%rsp)
ucomisd %xmm5,%xmm2
jb     11d9 <dotest_1+0xa9>
xorps  %xmm0,%xmm0
sqrtsd %xmm2,%xmm0
jmp    11e2 <dotest_1+0xb2>
movapd %xmm2,%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,0x20(%rsp)
mov    %ebp,%edi
call   1030 <fesetround@plt>
lea    0xe32(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe4e(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe58(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe66(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe74(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xddc(%rip),%rdi
movsd  0x28(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xdd6(%rip),%rdi
movsd  0x20(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x8(%rsp),%xmm0
addsd  0xd93(%rip),%xmm0
movsd  %xmm0,0x30(%rsp)
lea    0xdbf(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd77(%rip),%xmm0
subsd  0x8(%rsp),%xmm0
lea    0xdb2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x10(%rsp),%xmm0
addsd  0xd55(%rip),%xmm0
lea    0xda5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd3f(%rip),%xmm0
subsd  0x10(%rsp),%xmm0
lea    0xd9a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x18(%rsp),%xmm0
addsd  0xd1d(%rip),%xmm0
lea    0xd8f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd07(%rip),%xmm0
subsd  0x18(%rsp),%xmm0
lea    0xd84(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  (%rsp),%xmm0
addsd  0xce6(%rip),%xmm0
lea    0xd7a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcd0(%rip),%xmm0
subsd  (%rsp),%xmm0
lea    0xd70(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x8(%rsp),%xmm0
addsd  0xcb7(%rip),%xmm0
lea    0xce0(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xca1(%rip),%xmm0
subsd  0x8(%rsp),%xmm0
lea    0xcd3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x10(%rsp),%xmm0
addsd  0xc7f(%rip),%xmm0
lea    0xcc6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc69(%rip),%xmm0
subsd  0x10(%rsp),%xmm0
lea    0xcbb(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x18(%rsp),%xmm0
addsd  0xc47(%rip),%xmm0
lea    0xcb0(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc31(%rip),%xmm0
subsd  0x18(%rsp),%xmm0
lea    0xca5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  (%rsp),%xmm0
addsd  0xc10(%rip),%xmm0
lea    0xc9b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xbfa(%rip),%xmm0
subsd  (%rsp),%xmm0
lea    0xc91(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x28(%rsp),%xmm0
addsd  0xbd1(%rip),%xmm0
mulsd  %xmm0,%xmm0
lea    0xc82(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x20(%rsp),%xmm0
addsd  0xbb1(%rip),%xmm0
mulsd  %xmm0,%xmm0
lea    0xc78(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xb97(%rip),%xmm0
divsd  0x30(%rsp),%xmm0
lea    0xc74(%rip),%rdi
mov    $0x1,%al
add    $0x38,%rsp
pop    %rbx
pop    %rbp
jmp    1040 <printf@plt>

LLVM IR (-O0):
@DBL_EPSILON = global double 0.000000e+00
@.str = [10 x i8] c"-- %s --\0A\00"
@.str.1 = [10 x i8] c"eps = %a\0A\00"
@.str.2 = [12 x i8] c"eps14 = %a\0A\00"
@.str.3 = [12 x i8] c"eps12 = %a\0A\00"
@.str.4 = [12 x i8] c"eps34 = %a\0A\00"
@.str.5 = [14 x i8] c"sqrteps = %a\0A\00"
@.str.6 = [16 x i8] c"sqrteps14 = %a\0A\00"
@.str.7 = [14 x i8] c"1 + eps = %a\0A\00"
@.str.8 = [14 x i8] c"1 - eps = %a\0A\00"
@.str.9 = [16 x i8] c"1 + eps14 = %a\0A\00"
@.str.10 = [16 x i8] c"1 - eps14 = %a\0A\00"
@.str.11 = [16 x i8] c"1 + eps12 = %a\0A\00"
@.str.12 = [16 x i8] c"1 - eps12 = %a\0A\00"
@.str.13 = [16 x i8] c"1 + eps34 = %a\0A\00"
@.str.14 = [16 x i8] c"1 - eps34 = %a\0A\00"
@.str.15 = [15 x i8] c"-1 + eps = %a\0A\00"
@.str.16 = [15 x i8] c"-1 - eps = %a\0A\00"
@.str.17 = [17 x i8] c"-1 + eps14 = %a\0A\00"
@.str.18 = [17 x i8] c"-1 - eps14 = %a\0A\00"
@.str.19 = [17 x i8] c"-1 + eps12 = %a\0A\00"
@.str.20 = [17 x i8] c"-1 - eps12 = %a\0A\00"
@.str.21 = [17 x i8] c"-1 + eps34 = %a\0A\00"
@.str.22 = [17 x i8] c"-1 - eps34 = %a\0A\00"
@.str.23 = [22 x i8] c"(1 + sqrteps)^2 = %a\0A\00"
@.str.24 = [24 x i8] c"(1 + sqrteps14)^2 = %a\0A\00"
@.str.25 = [18 x i8] c"1 / (1+eps) = %a\0A\00"
define void @dotest_1(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
store i32 %0, i32* %3
store i8* %1, i8** %4
%11 = load double, double* @DBL_EPSILON
store double %11, double* %5
%12 = load double, double* %5
%13 = fdiv double %12, 4.000000e+00
store double %13, double* %6
%14 = load double, double* %5
%15 = fdiv double %14, 2.000000e+00
store double %15, double* %7
%16 = load double, double* %5
%17 = fmul double 3.000000e+00, %16
%18 = fdiv double %17, 4.000000e+00
store double %18, double* %8
%19 = load double, double* %5
%20 = call double @sqrt(double %19)
store double %20, double* %9
%21 = load double, double* %6
%22 = call double @sqrt(double %21)
store double %22, double* %10
%23 = load i32, i32* %3
%24 = call i32 @fesetround(i32 %23)
%25 = load i8*, i8** %4
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %25)
%27 = load double, double* %5
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double %27)
%29 = load double, double* %6
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), double %29)
%31 = load double, double* %7
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), double %31)
%33 = load double, double* %8
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), double %33)
%35 = load double, double* %9
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), double %35)
%37 = load double, double* %10
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), double %37)
%39 = load double, double* %5
%40 = fadd double 1.000000e+00, %39
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), double %40)
%42 = load double, double* %5
%43 = fsub double 1.000000e+00, %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0), double %43)
%45 = load double, double* %6
%46 = fadd double 1.000000e+00, %45
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), double %46)
%48 = load double, double* %6
%49 = fsub double 1.000000e+00, %48
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), double %49)
%51 = load double, double* %7
%52 = fadd double 1.000000e+00, %51
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), double %52)
%54 = load double, double* %7
%55 = fsub double 1.000000e+00, %54
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), double %55)
%57 = load double, double* %8
%58 = fadd double 1.000000e+00, %57
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0), double %58)
%60 = load double, double* %8
%61 = fsub double 1.000000e+00, %60
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), double %61)
%63 = load double, double* %5
%64 = fadd double -1.000000e+00, %63
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double %64)
%66 = load double, double* %5
%67 = fsub double -1.000000e+00, %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), double %67)
%69 = load double, double* %6
%70 = fadd double -1.000000e+00, %69
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), double %70)
%72 = load double, double* %6
%73 = fsub double -1.000000e+00, %72
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), double %73)
%75 = load double, double* %7
%76 = fadd double -1.000000e+00, %75
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), double %76)
%78 = load double, double* %7
%79 = fsub double -1.000000e+00, %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), double %79)
%81 = load double, double* %8
%82 = fadd double -1.000000e+00, %81
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), double %82)
%84 = load double, double* %8
%85 = fsub double -1.000000e+00, %84
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), double %85)
%87 = load double, double* %9
%88 = fadd double 1.000000e+00, %87
%89 = load double, double* %9
%90 = fadd double 1.000000e+00, %89
%91 = fmul double %88, %90
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), double %91)
%93 = load double, double* %10
%94 = fadd double 1.000000e+00, %93
%95 = load double, double* %10
%96 = fadd double 1.000000e+00, %95
%97 = fmul double %94, %96
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.24, i64 0, i64 0), double %97)
%99 = load double, double* %5
%100 = fadd double 1.000000e+00, %99
%101 = fdiv double 1.000000e+00, %100
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.25, i64 0, i64 0), double %101)
ret void
}

LLVM IR (-O2):
@DBL_EPSILON = global double 0.000000e+00
@.str = [10 x i8] c"-- %s --\0A\00"
@.str.1 = [10 x i8] c"eps = %a\0A\00"
@.str.2 = [12 x i8] c"eps14 = %a\0A\00"
@.str.3 = [12 x i8] c"eps12 = %a\0A\00"
@.str.4 = [12 x i8] c"eps34 = %a\0A\00"
@.str.5 = [14 x i8] c"sqrteps = %a\0A\00"
@.str.6 = [16 x i8] c"sqrteps14 = %a\0A\00"
@.str.7 = [14 x i8] c"1 + eps = %a\0A\00"
@.str.8 = [14 x i8] c"1 - eps = %a\0A\00"
@.str.9 = [16 x i8] c"1 + eps14 = %a\0A\00"
@.str.10 = [16 x i8] c"1 - eps14 = %a\0A\00"
@.str.11 = [16 x i8] c"1 + eps12 = %a\0A\00"
@.str.12 = [16 x i8] c"1 - eps12 = %a\0A\00"
@.str.13 = [16 x i8] c"1 + eps34 = %a\0A\00"
@.str.14 = [16 x i8] c"1 - eps34 = %a\0A\00"
@.str.15 = [15 x i8] c"-1 + eps = %a\0A\00"
@.str.16 = [15 x i8] c"-1 - eps = %a\0A\00"
@.str.17 = [17 x i8] c"-1 + eps14 = %a\0A\00"
@.str.18 = [17 x i8] c"-1 - eps14 = %a\0A\00"
@.str.19 = [17 x i8] c"-1 + eps12 = %a\0A\00"
@.str.20 = [17 x i8] c"-1 - eps12 = %a\0A\00"
@.str.21 = [17 x i8] c"-1 + eps34 = %a\0A\00"
@.str.22 = [17 x i8] c"-1 - eps34 = %a\0A\00"
@.str.23 = [22 x i8] c"(1 + sqrteps)^2 = %a\0A\00"
@.str.24 = [24 x i8] c"(1 + sqrteps14)^2 = %a\0A\00"
@.str.25 = [18 x i8] c"1 / (1+eps) = %a\0A\00"
define void @dotest_1(i32 %0, i8* %1) {
%3 = load double, double* @DBL_EPSILON
%4 = fmul double %3, 2.500000e-01
%5 = fmul double %3, 5.000000e-01
%6 = fmul double %3, 3.000000e+00
%7 = fmul double %6, 2.500000e-01
%8 = tail call double @sqrt(double %3)
%9 = tail call double @sqrt(double %4)
%10 = tail call i32 @fesetround(i32 %0)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %1)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double %3)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), double %4)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), double %5)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), double %7)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), double %8)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), double %9)
%18 = fadd double %3, 1.000000e+00
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0), double %18)
%20 = fsub double 1.000000e+00, %3
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0), double %20)
%22 = fadd double %4, 1.000000e+00
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), double %22)
%24 = fsub double 1.000000e+00, %4
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), double %24)
%26 = fadd double %5, 1.000000e+00
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), double %26)
%28 = fsub double 1.000000e+00, %5
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), double %28)
%30 = fadd double %7, 1.000000e+00
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0), double %30)
%32 = fsub double 1.000000e+00, %7
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), double %32)
%34 = fadd double %3, -1.000000e+00
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double %34)
%36 = fsub double -1.000000e+00, %3
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), double %36)
%38 = fadd double %4, -1.000000e+00
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), double %38)
%40 = fsub double -1.000000e+00, %4
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), double %40)
%42 = fadd double %5, -1.000000e+00
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), double %42)
%44 = fsub double -1.000000e+00, %5
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), double %44)
%46 = fadd double %7, -1.000000e+00
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), double %46)
%48 = fsub double -1.000000e+00, %7
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), double %48)
%50 = fadd double %8, 1.000000e+00
%51 = fmul double %50, %50
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), double %51)
%53 = fadd double %9, 1.000000e+00
%54 = fmul double %53, %53
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.24, i64 0, i64 0), double %54)
%56 = fdiv double 1.000000e+00, %18
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.25, i64 0, i64 0), double %56)
ret void
}