#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*/ EXIT_SUCCESS;
double atof(char *);
int /*<<< orphan*/ atoi(char *);
double ceil(double);
int /*<<< orphan*/ exit(int /*<<< orphan*/);
double floor(double);
double lr_ceil0(double, double);
double lr_floor0(double, double);
double lr_get_rounding_factor(int /*<<< orphan*/);
double lr_round_half_down(double, double);
double lr_round_half_down0(double, double);
double lr_round_half_even(double, double);
double lr_round_half_up(double, double);
double lr_round_half_up0(double, double);
int /*<<< orphan*/ printf(char *, double, ...);
double round(double);
int main(int argc, char *argv[]) {
  double rf;
  if (argc < 3)
    return -1;
  rf = lr_get_rounding_factor(atoi(argv[2]));
  printf("Rounding factor  : %f\n", rf);
  printf("ceil             : %f --> %f\n", atof(argv[1]),
         ceil(atof(argv[1]) * rf) / rf);
  printf("ceil0            : %f --> %f\n", atof(argv[1]),
         lr_ceil0(atof(argv[1]), rf));
  printf("floor            : %f --> %f\n", atof(argv[1]),
         floor(atof(argv[1]) * rf) / rf);
  printf("floor0           : %f --> %f\n", atof(argv[1]),
         lr_floor0(atof(argv[1]), rf));
  printf("round            : %f --> %f\n", atof(argv[1]),
         round(atof(argv[1]) * rf) / rf);
  printf("round_half_up    : %f --> %f\n", atof(argv[1]),
         lr_round_half_up(atof(argv[1]), rf));
  printf("round_half_up0   : %f --> %f\n", atof(argv[1]),
         lr_round_half_up0(atof(argv[1]), rf));
  printf("round_half_down  : %f --> %f\n", atof(argv[1]),
         lr_round_half_down(atof(argv[1]), rf));
  printf("round_half_down0 : %f --> %f\n", atof(argv[1]),
         lr_round_half_down0(atof(argv[1]), rf));
  printf("round_half_even  : %f --> %f\n", atof(argv[1]),
         lr_round_half_even(atof(argv[1]), rf));
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    121b <main+0x2b>
mov    $0xffffffff,%eax
add    $0x70,%rsp
pop    %rbp
ret
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   10c0 <atoi@plt>
mov    %eax,%edi
call   10a0 <lr_get_rounding_factor@plt>
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
lea    0xdc0(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
mulsd  -0x18(%rbp),%xmm0
call   1050 <ceil@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm1
lea    0xd93(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   1080 <lr_ceil0@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
lea    0xd72(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
mulsd  -0x18(%rbp),%xmm0
call   1100 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0x58(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm1
lea    0xd4c(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   10f0 <lr_floor0@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
lea    0xd2b(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
mulsd  -0x18(%rbp),%xmm0
call   10b0 <round@plt>
movaps %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm1
lea    0xd05(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   1090 <lr_round_half_up@plt>
movaps %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
lea    0xce4(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   1030 <lr_round_half_up0@plt>
movaps %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
lea    0xcc3(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   1060 <lr_round_half_down@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
lea    0xca2(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   1110 <lr_round_half_down0@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
lea    0xc81(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atof@plt>
movsd  -0x18(%rbp),%xmm1
call   10d0 <lr_round_half_even@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
lea    0xc60(%rip),%rdi
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x2b0d(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>

x86 assembly (clang, -O2):
<main>:
cmp    $0x2,%edi
jg     11fb <main+0xb>
mov    $0xffffffff,%eax
ret
push   %rbx
sub    $0x10,%rsp
mov    %rsi,%rbx
mov    0x10(%rsi),%rdi
call   10c0 <atoi@plt>
mov    %eax,%edi
call   10a0 <lr_get_rounding_factor@plt>
movsd  %xmm0,0x8(%rsp)
lea    0xde0(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movapd %xmm0,%xmm1
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <ceil@plt>
movapd %xmm0,%xmm1
divsd  0x8(%rsp),%xmm1
lea    0xdbe(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   1080 <lr_ceil0@plt>
movaps %xmm0,%xmm1
lea    0xdad(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movapd %xmm0,%xmm1
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1100 <floor@plt>
movapd %xmm0,%xmm1
divsd  0x8(%rsp),%xmm1
lea    0xd8d(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   10f0 <lr_floor0@plt>
movaps %xmm0,%xmm1
lea    0xd7c(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movapd %xmm0,%xmm1
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   10b0 <round@plt>
movapd %xmm0,%xmm1
divsd  0x8(%rsp),%xmm1
lea    0xd5c(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   1090 <lr_round_half_up@plt>
movaps %xmm0,%xmm1
lea    0xd4b(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   1030 <lr_round_half_up0@plt>
movaps %xmm0,%xmm1
lea    0xd3a(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   1060 <lr_round_half_down@plt>
movaps %xmm0,%xmm1
lea    0xd29(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   1110 <lr_round_half_down0@plt>
movaps %xmm0,%xmm1
lea    0xd18(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm1
call   10d0 <lr_round_half_even@plt>
movaps %xmm0,%xmm1
lea    0xd07(%rip),%rdi
movsd  (%rsp),%xmm0
mov    $0x2,%al
call   1070 <printf@plt>
mov    0x2baf(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"Rounding factor : %f\0A\00"
@.str.1 = [30 x i8] c"ceil : %f --> %f\0A\00"
@.str.2 = [30 x i8] c"ceil0 : %f --> %f\0A\00"
@.str.3 = [30 x i8] c"floor : %f --> %f\0A\00"
@.str.4 = [30 x i8] c"floor0 : %f --> %f\0A\00"
@.str.5 = [30 x i8] c"round : %f --> %f\0A\00"
@.str.6 = [30 x i8] c"round_half_up : %f --> %f\0A\00"
@.str.7 = [30 x i8] c"round_half_up0 : %f --> %f\0A\00"
@.str.8 = [30 x i8] c"round_half_down : %f --> %f\0A\00"
@.str.9 = [30 x i8] c"round_half_down0 : %f --> %f\0A\00"
@.str.10 = [30 x i8] c"round_half_even : %f --> %f\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = load i32, i32* %4
%8 = icmp slt i32 %7, 3
br i1 %8, label %9, label %10
9: ; preds = %2
ret i32 -1
10: ; preds = %2
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 2
%13 = load i8*, i8** %12
%14 = call i32 @atoi(i8* %13)
%15 = call double @lr_get_rounding_factor(i32 %14)
store double %15, double* %6
%16 = load double, double* %6
%17 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), double %16)
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call double @atof(i8* %20)
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = call double @atof(i8* %24)
%26 = load double, double* %6
%27 = fmul double %25, %26
%28 = call double @llvm.ceil.f64(double %27)
%29 = load double, double* %6
%30 = fdiv double %28, %29
%31 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), double %21, double %30)
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 1
%34 = load i8*, i8** %33
%35 = call double @atof(i8* %34)
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 1
%38 = load i8*, i8** %37
%39 = call double @atof(i8* %38)
%40 = load double, double* %6
%41 = call double @lr_ceil0(double %39, double %40)
%42 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %35, double %41)
%43 = load i8**, i8*** %5
%44 = getelementptr inbounds i8*, i8** %43, i64 1
%45 = load i8*, i8** %44
%46 = call double @atof(i8* %45)
%47 = load i8**, i8*** %5
%48 = getelementptr inbounds i8*, i8** %47, i64 1
%49 = load i8*, i8** %48
%50 = call double @atof(i8* %49)
%51 = load double, double* %6
%52 = fmul double %50, %51
%53 = call double @llvm.floor.f64(double %52)
%54 = load double, double* %6
%55 = fdiv double %53, %54
%56 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), double %46, double %55)
%57 = load i8**, i8*** %5
%58 = getelementptr inbounds i8*, i8** %57, i64 1
%59 = load i8*, i8** %58
%60 = call double @atof(i8* %59)
%61 = load i8**, i8*** %5
%62 = getelementptr inbounds i8*, i8** %61, i64 1
%63 = load i8*, i8** %62
%64 = call double @atof(i8* %63)
%65 = load double, double* %6
%66 = call double @lr_floor0(double %64, double %65)
%67 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), double %60, double %66)
%68 = load i8**, i8*** %5
%69 = getelementptr inbounds i8*, i8** %68, i64 1
%70 = load i8*, i8** %69
%71 = call double @atof(i8* %70)
%72 = load i8**, i8*** %5
%73 = getelementptr inbounds i8*, i8** %72, i64 1
%74 = load i8*, i8** %73
%75 = call double @atof(i8* %74)
%76 = load double, double* %6
%77 = fmul double %75, %76
%78 = call double @llvm.round.f64(double %77)
%79 = load double, double* %6
%80 = fdiv double %78, %79
%81 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), double %71, double %80)
%82 = load i8**, i8*** %5
%83 = getelementptr inbounds i8*, i8** %82, i64 1
%84 = load i8*, i8** %83
%85 = call double @atof(i8* %84)
%86 = load i8**, i8*** %5
%87 = getelementptr inbounds i8*, i8** %86, i64 1
%88 = load i8*, i8** %87
%89 = call double @atof(i8* %88)
%90 = load double, double* %6
%91 = call double @lr_round_half_up(double %89, double %90)
%92 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), double %85, double %91)
%93 = load i8**, i8*** %5
%94 = getelementptr inbounds i8*, i8** %93, i64 1
%95 = load i8*, i8** %94
%96 = call double @atof(i8* %95)
%97 = load i8**, i8*** %5
%98 = getelementptr inbounds i8*, i8** %97, i64 1
%99 = load i8*, i8** %98
%100 = call double @atof(i8* %99)
%101 = load double, double* %6
%102 = call double @lr_round_half_up0(double %100, double %101)
%103 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), double %96, double %102)
%104 = load i8**, i8*** %5
%105 = getelementptr inbounds i8*, i8** %104, i64 1
%106 = load i8*, i8** %105
%107 = call double @atof(i8* %106)
%108 = load i8**, i8*** %5
%109 = getelementptr inbounds i8*, i8** %108, i64 1
%110 = load i8*, i8** %109
%111 = call double @atof(i8* %110)
%112 = load double, double* %6
%113 = call double @lr_round_half_down(double %111, double %112)
%114 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), double %107, double %113)
%115 = load i8**, i8*** %5
%116 = getelementptr inbounds i8*, i8** %115, i64 1
%117 = load i8*, i8** %116
%118 = call double @atof(i8* %117)
%119 = load i8**, i8*** %5
%120 = getelementptr inbounds i8*, i8** %119, i64 1
%121 = load i8*, i8** %120
%122 = call double @atof(i8* %121)
%123 = load double, double* %6
%124 = call double @lr_round_half_down0(double %122, double %123)
%125 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), double %118, double %124)
%126 = load i8**, i8*** %5
%127 = getelementptr inbounds i8*, i8** %126, i64 1
%128 = load i8*, i8** %127
%129 = call double @atof(i8* %128)
%130 = load i8**, i8*** %5
%131 = getelementptr inbounds i8*, i8** %130, i64 1
%132 = load i8*, i8** %131
%133 = call double @atof(i8* %132)
%134 = load double, double* %6
%135 = call double @lr_round_half_even(double %133, double %134)
%136 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0), double %129, double %135)
%137 = load i32, i32* @EXIT_SUCCESS
%138 = call i32 @exit(i32 %137)
unreachable
}

LLVM IR (-O2):
@.str = [23 x i8] c"Rounding factor : %f\0A\00"
@.str.1 = [30 x i8] c"ceil : %f --> %f\0A\00"
@.str.2 = [30 x i8] c"ceil0 : %f --> %f\0A\00"
@.str.3 = [30 x i8] c"floor : %f --> %f\0A\00"
@.str.4 = [30 x i8] c"floor0 : %f --> %f\0A\00"
@.str.5 = [30 x i8] c"round : %f --> %f\0A\00"
@.str.6 = [30 x i8] c"round_half_up : %f --> %f\0A\00"
@.str.7 = [30 x i8] c"round_half_up0 : %f --> %f\0A\00"
@.str.8 = [30 x i8] c"round_half_down : %f --> %f\0A\00"
@.str.9 = [30 x i8] c"round_half_down0 : %f --> %f\0A\00"
@.str.10 = [30 x i8] c"round_half_even : %f --> %f\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 3
br i1 %3, label %4, label %5
4: ; preds = %2
ret i32 -1
5: ; preds = %2
%6 = getelementptr inbounds i8*, i8** %1, i64 2
%7 = load i8*, i8** %6
%8 = tail call i32 @atoi(i8* %7)
%9 = tail call double @lr_get_rounding_factor(i32 %8)
%10 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), double %9)
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call double @atof(i8* %12)
%14 = fmul double %9, %13
%15 = tail call double @llvm.ceil.f64(double %14)
%16 = fdiv double %15, %9
%17 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), double %13, double %16)
%18 = load i8*, i8** %11
%19 = tail call double @atof(i8* %18)
%20 = tail call double @lr_ceil0(double %19, double %9)
%21 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %19, double %20)
%22 = load i8*, i8** %11
%23 = tail call double @atof(i8* %22)
%24 = fmul double %9, %23
%25 = tail call double @llvm.floor.f64(double %24)
%26 = fdiv double %25, %9
%27 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), double %23, double %26)
%28 = load i8*, i8** %11
%29 = tail call double @atof(i8* %28)
%30 = tail call double @lr_floor0(double %29, double %9)
%31 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), double %29, double %30)
%32 = load i8*, i8** %11
%33 = tail call double @atof(i8* %32)
%34 = fmul double %9, %33
%35 = tail call double @llvm.round.f64(double %34)
%36 = fdiv double %35, %9
%37 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), double %33, double %36)
%38 = load i8*, i8** %11
%39 = tail call double @atof(i8* %38)
%40 = tail call double @lr_round_half_up(double %39, double %9)
%41 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), double %39, double %40)
%42 = load i8*, i8** %11
%43 = tail call double @atof(i8* %42)
%44 = tail call double @lr_round_half_up0(double %43, double %9)
%45 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0), double %43, double %44)
%46 = load i8*, i8** %11
%47 = tail call double @atof(i8* %46)
%48 = tail call double @lr_round_half_down(double %47, double %9)
%49 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.8, i64 0, i64 0), double %47, double %48)
%50 = load i8*, i8** %11
%51 = tail call double @atof(i8* %50)
%52 = tail call double @lr_round_half_down0(double %51, double %9)
%53 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), double %51, double %52)
%54 = load i8*, i8** %11
%55 = tail call double @atof(i8* %54)
%56 = tail call double @lr_round_half_even(double %55, double %9)
%57 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0), double %55, double %56)
%58 = load i32, i32* @EXIT_SUCCESS
%59 = tail call i32 @exit(i32 %58)
unreachable
}