#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;
double DBL_MAX;
double DBL_MIN;
double FLT_EPSILON;
double FLT_MAX;
double FLT_MIN;
double LDBL_EPSILON;
double LDBL_MAX;
double LDBL_MIN;
int __WORDSIZE;
int /*<<< orphan*/ printf(char *, double);
int main() {
  printf("__WORDSIZE = %d\n", __WORDSIZE);
  printf("FLT_MIN      = %e\n", FLT_MIN);
  printf("FLT_MAX      = %e\n", FLT_MAX);
  printf("FLT_EPSILON  = %e\n", FLT_EPSILON);
  printf("DBL_MIN      = %e\n", DBL_MIN);
  printf("DBL_MAX      = %e\n", DBL_MAX);
  printf("DBL_EPSILON  = %e\n", DBL_EPSILON);
  printf("LDBL_MIN      = %Le\n", LDBL_MIN);
  printf("LDBL_MAX      = %Le\n", LDBL_MAX);
  printf("LDBL_EPSILON  = %Le\n", LDBL_EPSILON);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2ec2(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e9b(%rip),%rax
movsd  (%rax),%xmm0
lea    0xec9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e7c(%rip),%rax
movsd  (%rax),%xmm0
lea    0xec5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e55(%rip),%rax
movsd  (%rax),%xmm0
lea    0xec1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e26(%rip),%rax
movsd  (%rax),%xmm0
lea    0xebd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e07(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e30(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeb5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2de9(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeb1(%rip),%rdi
call   1030 <printf@plt>
mov    0x2dda(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeaf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2d9b(%rip),%rax
movsd  (%rax),%xmm0
lea    0xead(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ed0(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xedd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2ea9(%rip),%rax
movsd  (%rax),%xmm0
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e8a(%rip),%rax
movsd  (%rax),%xmm0
lea    0xed3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e63(%rip),%rax
movsd  (%rax),%xmm0
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e34(%rip),%rax
movsd  (%rax),%xmm0
lea    0xecb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e15(%rip),%rax
movsd  (%rax),%xmm0
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e3e(%rip),%rax
movsd  (%rax),%xmm0
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
mov    0x2df7(%rip),%rax
movsd  (%rax),%xmm0
lea    0xebf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2de8(%rip),%rax
movsd  (%rax),%xmm0
lea    0xebd(%rip),%rdi
call   1030 <printf@plt>
mov    0x2da9(%rip),%rax
movsd  (%rax),%xmm0
lea    0xebb(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"__WORDSIZE = %d\0A\00"
@__WORDSIZE = global i32 0
@.str.1 = [19 x i8] c"FLT_MIN = %e\0A\00"
@FLT_MIN = global double 0.000000e+00
@.str.2 = [19 x i8] c"FLT_MAX = %e\0A\00"
@FLT_MAX = global double 0.000000e+00
@.str.3 = [19 x i8] c"FLT_EPSILON = %e\0A\00"
@FLT_EPSILON = global double 0.000000e+00
@.str.4 = [19 x i8] c"DBL_MIN = %e\0A\00"
@DBL_MIN = global double 0.000000e+00
@.str.5 = [19 x i8] c"DBL_MAX = %e\0A\00"
@DBL_MAX = global double 0.000000e+00
@.str.6 = [19 x i8] c"DBL_EPSILON = %e\0A\00"
@DBL_EPSILON = global double 0.000000e+00
@.str.7 = [21 x i8] c"LDBL_MIN = %Le\0A\00"
@LDBL_MIN = global double 0.000000e+00
@.str.8 = [21 x i8] c"LDBL_MAX = %Le\0A\00"
@LDBL_MAX = global double 0.000000e+00
@.str.9 = [21 x i8] c"LDBL_EPSILON = %Le\0A\00"
@LDBL_EPSILON = global double 0.000000e+00
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @__WORDSIZE
%3 = sitofp i32 %2 to double
%4 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), double %3)
%5 = load double, double* @FLT_MIN
%6 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %5)
%7 = load double, double* @FLT_MAX
%8 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), double %7)
%9 = load double, double* @FLT_EPSILON
%10 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), double %9)
%11 = load double, double* @DBL_MIN
%12 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), double %11)
%13 = load double, double* @DBL_MAX
%14 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), double %13)
%15 = load double, double* @DBL_EPSILON
%16 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), double %15)
%17 = load double, double* @LDBL_MIN
%18 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), double %17)
%19 = load double, double* @LDBL_MAX
%20 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), double %19)
%21 = load double, double* @LDBL_EPSILON
%22 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double %21)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"__WORDSIZE = %d\0A\00"
@__WORDSIZE = global i32 0
@.str.1 = [19 x i8] c"FLT_MIN = %e\0A\00"
@FLT_MIN = global double 0.000000e+00
@.str.2 = [19 x i8] c"FLT_MAX = %e\0A\00"
@FLT_MAX = global double 0.000000e+00
@.str.3 = [19 x i8] c"FLT_EPSILON = %e\0A\00"
@FLT_EPSILON = global double 0.000000e+00
@.str.4 = [19 x i8] c"DBL_MIN = %e\0A\00"
@DBL_MIN = global double 0.000000e+00
@.str.5 = [19 x i8] c"DBL_MAX = %e\0A\00"
@DBL_MAX = global double 0.000000e+00
@.str.6 = [19 x i8] c"DBL_EPSILON = %e\0A\00"
@DBL_EPSILON = global double 0.000000e+00
@.str.7 = [21 x i8] c"LDBL_MIN = %Le\0A\00"
@LDBL_MIN = global double 0.000000e+00
@.str.8 = [21 x i8] c"LDBL_MAX = %Le\0A\00"
@LDBL_MAX = global double 0.000000e+00
@.str.9 = [21 x i8] c"LDBL_EPSILON = %Le\0A\00"
@LDBL_EPSILON = global double 0.000000e+00
define i32 @main() {
%1 = load i32, i32* @__WORDSIZE
%2 = sitofp i32 %1 to double
%3 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), double %2)
%4 = load double, double* @FLT_MIN
%5 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %4)
%6 = load double, double* @FLT_MAX
%7 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), double %6)
%8 = load double, double* @FLT_EPSILON
%9 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), double %8)
%10 = load double, double* @DBL_MIN
%11 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), double %10)
%12 = load double, double* @DBL_MAX
%13 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), double %12)
%14 = load double, double* @DBL_EPSILON
%15 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), double %14)
%16 = load double, double* @LDBL_MIN
%17 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), double %16)
%18 = load double, double* @LDBL_MAX
%19 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), double %18)
%20 = load double, double* @LDBL_EPSILON
%21 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), double %20)
ret i32 0
}