#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*/ printf(char *, double);
double v3p_netlib_slamch_(char *, int);
int main(void) {
  printf("eps  = %g\n", v3p_netlib_slamch_("E", 1));
  printf("sfmin= %g\n", v3p_netlib_slamch_("S", 1));
  printf("base = %g\n", v3p_netlib_slamch_("B", 1));
  printf("prec = %g\n", v3p_netlib_slamch_("P", 1));
  printf("t    = %g\n", v3p_netlib_slamch_("N", 1));
  printf("rnd  = %g\n", v3p_netlib_slamch_("R", 1));
  printf("emin = %g\n", v3p_netlib_slamch_("M", 1));
  printf("rmin = %g\n", v3p_netlib_slamch_("U", 1));
  printf("emax = %g\n", v3p_netlib_slamch_("L", 1));
  printf("rmax = %g\n", v3p_netlib_slamch_("O", 1));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xed5(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
lea    0xec5(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xea9(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb5(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe99(%rip),%rdi
call   1030 <printf@plt>
lea    0xea5(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe89(%rip),%rdi
call   1030 <printf@plt>
lea    0xe95(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe79(%rip),%rdi
call   1030 <printf@plt>
lea    0xe85(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe69(%rip),%rdi
call   1030 <printf@plt>
lea    0xe75(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe59(%rip),%rdi
call   1030 <printf@plt>
lea    0xe65(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe49(%rip),%rdi
call   1030 <printf@plt>
lea    0xe55(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe39(%rip),%rdi
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe29(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee3(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xeb7(%rip),%rdi
call   1030 <printf@plt>
lea    0xec3(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xea7(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe97(%rip),%rdi
call   1030 <printf@plt>
lea    0xea3(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe87(%rip),%rdi
call   1030 <printf@plt>
lea    0xe93(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe77(%rip),%rdi
call   1030 <printf@plt>
lea    0xe83(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe67(%rip),%rdi
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe57(%rip),%rdi
call   1030 <printf@plt>
lea    0xe63(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe47(%rip),%rdi
call   1030 <printf@plt>
lea    0xe53(%rip),%rdi
mov    $0x1,%esi
call   1040 <v3p_netlib_slamch_@plt>
lea    0xe37(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [11 x i8] c"eps = %g\0A\00"
@.str.1 = [2 x i8] c"E\00"
@.str.2 = [11 x i8] c"sfmin= %g\0A\00"
@.str.3 = [2 x i8] c"S\00"
@.str.4 = [11 x i8] c"base = %g\0A\00"
@.str.5 = [2 x i8] c"B\00"
@.str.6 = [11 x i8] c"prec = %g\0A\00"
@.str.7 = [2 x i8] c"P\00"
@.str.8 = [11 x i8] c"t = %g\0A\00"
@.str.9 = [2 x i8] c"N\00"
@.str.10 = [11 x i8] c"rnd = %g\0A\00"
@.str.11 = [2 x i8] c"R\00"
@.str.12 = [11 x i8] c"emin = %g\0A\00"
@.str.13 = [2 x i8] c"M\00"
@.str.14 = [11 x i8] c"rmin = %g\0A\00"
@.str.15 = [2 x i8] c"U\00"
@.str.16 = [11 x i8] c"emax = %g\0A\00"
@.str.17 = [2 x i8] c"L\00"
@.str.18 = [11 x i8] c"rmax = %g\0A\00"
@.str.19 = [2 x i8] c"O\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 1)
%3 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), double %2)
%4 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 1)
%5 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), double %4)
%6 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 1)
%7 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), double %6)
%8 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%9 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double %8)
%10 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32 1)
%11 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), double %10)
%12 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32 1)
%13 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), double %12)
%14 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%15 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), double %14)
%16 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i32 1)
%17 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), double %16)
%18 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), i32 1)
%19 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), double %18)
%20 = call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i32 1)
%21 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), double %20)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"eps = %g\0A\00"
@.str.1 = [2 x i8] c"E\00"
@.str.2 = [11 x i8] c"sfmin= %g\0A\00"
@.str.3 = [2 x i8] c"S\00"
@.str.4 = [11 x i8] c"base = %g\0A\00"
@.str.5 = [2 x i8] c"B\00"
@.str.6 = [11 x i8] c"prec = %g\0A\00"
@.str.7 = [2 x i8] c"P\00"
@.str.8 = [11 x i8] c"t = %g\0A\00"
@.str.9 = [2 x i8] c"N\00"
@.str.10 = [11 x i8] c"rnd = %g\0A\00"
@.str.11 = [2 x i8] c"R\00"
@.str.12 = [11 x i8] c"emin = %g\0A\00"
@.str.13 = [2 x i8] c"M\00"
@.str.14 = [11 x i8] c"rmin = %g\0A\00"
@.str.15 = [2 x i8] c"U\00"
@.str.16 = [11 x i8] c"emax = %g\0A\00"
@.str.17 = [2 x i8] c"L\00"
@.str.18 = [11 x i8] c"rmax = %g\0A\00"
@.str.19 = [2 x i8] c"O\00"
define i32 @main() {
%1 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 1)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), double %1)
%3 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 1)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), double %3)
%5 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 1)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), double %5)
%7 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i32 1)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double %7)
%9 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i32 1)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), double %9)
%11 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32 1)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), double %11)
%13 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0), i32 1)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), double %13)
%15 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0), i32 1)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), double %15)
%17 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0), i32 1)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), double %17)
%19 = tail call double @v3p_netlib_slamch_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.19, i64 0, i64 0), i32 1)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), double %19)
ret i32 0
}