#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 fabs(int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ scanf(char *, long double *, ...);
int sqrt(long double);
int main() {
  long double a, b, c, o;
  long int e = 1;
  while (scanf("%llf", &a)) {
    if (a - 0 < 1e-8)
      break;
    else {
      scanf("%llf%llf", &b, &c);
      printf("Case %ld:\n", e);
      if (a < 0) {
        a = -a;
        b = -b;
        c = -c;
      }
      if (a == 1)
        printf("x^2 ");
      else
        printf("%llfx^2 ", a);
      if (b > 0) {
        if (b == 1)
          printf("+ x ");
        else
          printf("+ %lgx ", b);
      } else if (b < 0) {
        if (b == -1)
          printf("- x ");
        else
          printf("- %lgx ", -b);
      }
      if (c > 0)
        printf("+ %lg ", c);
      else if (c < 0)
        printf("- %lg ", -c);
      printf("= 0\n");
      o = b * b - 4 * a * c;
      if (o == 0) {
        printf("only one real root : %lg\n", -b / 2 / a);
      } else if (o > 0) {
        printf("two real roots : %lg,%lg\n", (-b - sqrt(o)) / 2 / a,
               (-b + sqrt(o)) / 2 / a);
      } else {
        if (b != 0) {
          if (fabs(sqrt(-o) / 2 / a - 1) <= 1e-6)
            printf("two imaginary roots : %lg+i,%lg-i\n", -b / 2 / a,
                   -b / 2 / a);
          else
            printf("two imaginary roots : %lg+%lgi,%lg-%lgi\n", -b / 2 / a,
                   sqrt(-o) / 2 / a, -b / 2 / a, sqrt(-o) / 2 / a);
        } else
          printf("two imaginary roots : %lgi,-%lgi\n", sqrt(-o) / 2 / a,
                 sqrt(-o) / 2 / a);
      }
      printf("\n");
      scanf("%llf", &a);
      e++;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x1,-0x58(%rbp)
lea    0xebf(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
cmp    $0x0,%rax
je     167a <main+0x53a>
fldt   -0x20(%rbp)
fldl   0xe81(%rip)
fucomip %st(1),%st
fstp   %st(0)
jbe    1193 <main+0x53>
jmp    118e <main+0x4e>
jmp    167a <main+0x53a>
lea    0xe82(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x7d(%rbp)
lea    -0x30(%rbp),%rsi
lea    -0x40(%rbp),%rdx
call   1050 <scanf@plt>
mov    -0x7d(%rbp),%al
mov    -0x58(%rbp),%rsi
lea    0xe6b(%rip),%rdi
call   1030 <printf@plt>
fldt   -0x20(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    11eb <main+0xab>
jmp    11d3 <main+0x93>
fldt   -0x20(%rbp)
fchs
fstpt  -0x20(%rbp)
fldt   -0x30(%rbp)
fchs
fstpt  -0x30(%rbp)
fldt   -0x40(%rbp)
fchs
fstpt  -0x40(%rbp)
fldt   -0x20(%rbp)
fld1
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jne    121a <main+0xda>
jp     121a <main+0xda>
jmp    1207 <main+0xc7>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1230 <main+0xf0>
fldt   -0x20(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xe07(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
fldt   -0x30(%rbp)
fldz
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jbe    1290 <main+0x150>
jmp    1246 <main+0x106>
fldt   -0x30(%rbp)
fld1
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jne    1275 <main+0x135>
jp     1275 <main+0x135>
jmp    1262 <main+0x122>
lea    0xdd0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    128b <main+0x14b>
fldt   -0x30(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xdba(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12f7 <main+0x1b7>
fldt   -0x30(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    12f2 <main+0x1b2>
jmp    12a4 <main+0x164>
fldt   -0x30(%rbp)
fld1
fchs
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jne    12d5 <main+0x195>
jp     12d5 <main+0x195>
jmp    12c2 <main+0x182>
lea    0xd7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12ed <main+0x1ad>
fldt   -0x30(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
lea    0xd65(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12f2 <main+0x1b2>
jmp    12f7 <main+0x1b7>
fldt   -0x40(%rbp)
fldz
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jbe    1328 <main+0x1e8>
jmp    130d <main+0x1cd>
fldt   -0x40(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xd37(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1359 <main+0x219>
fldt   -0x40(%rbp)
fldz
fucomip %st(1),%st
fstp   %st(0)
jbe    1354 <main+0x214>
jmp    133c <main+0x1fc>
fldt   -0x40(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
lea    0xd0d(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1359 <main+0x219>
lea    0xd01(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
fldt   -0x30(%rbp)
fldt   -0x20(%rbp)
flds   0xc9d(%rip)
fmulp  %st,%st(1)
fldt   -0x40(%rbp)
fmulp  %st,%st(1)
fxch   %st(1)
fmul   %st,%st(0)
faddp  %st,%st(1)
fstpt  -0x50(%rbp)
fldt   -0x50(%rbp)
fldz
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jne    13c7 <main+0x287>
jp     13c7 <main+0x287>
jmp    139f <main+0x25f>
fldt   -0x30(%rbp)
flds   0xc70(%rip)
fdivrp %st,%st(1)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xcab(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1649 <main+0x509>
fldt   -0x50(%rbp)
fldz
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jbe    1472 <main+0x332>
jmp    13dd <main+0x29d>
fldt   -0x30(%rbp)
fchs
fstpt  -0xac(%rbp)
fldt   -0x50(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
fldt   -0xac(%rbp)
mov    %eax,-0x78(%rbp)
fildl  -0x78(%rbp)
fsubrp %st,%st(1)
flds   0xc0b(%rip)
fld    %st(0)
fstpt  -0x94(%rbp)
fdivrp %st,%st(1)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
fstpt  -0x88(%rbp)
fldt   -0x30(%rbp)
fstpt  -0xa0(%rbp)
fldt   -0x50(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
fldt   -0xa0(%rbp)
fldt   -0x94(%rbp)
fldt   -0x88(%rbp)
mov    %eax,-0x74(%rbp)
fildl  -0x74(%rbp)
fsubp  %st,%st(3)
fxch   %st(2)
fdivp  %st,%st(1)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
mov    %rsp,%rax
fstpt  0x10(%rax)
fstpt  (%rax)
lea    0xc1a(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1644 <main+0x504>
fldt   -0x30(%rbp)
fldz
fxch   %st(1)
fucomip %st(1),%st
fstp   %st(0)
jne    148e <main+0x34e>
jp     148e <main+0x34e>
jmp    15d7 <main+0x497>
fldt   -0x50(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x68(%rbp)
fildl  -0x68(%rbp)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
fld1
fchs
faddp  %st,%st(1)
fnstcw -0x7a(%rbp)
movzwl -0x7a(%rbp),%eax
or     $0xc00,%eax
mov    %ax,-0x7c(%rbp)
fldcw  -0x7c(%rbp)
fistpl -0x64(%rbp)
fldcw  -0x7a(%rbp)
mov    -0x64(%rbp),%edi
call   1040 <fabs@plt>
cvtsi2sd %eax,%xmm1
movsd  0xb24(%rip),%xmm0
ucomisd %xmm1,%xmm0
jb     151f <main+0x3df>
fldt   -0x30(%rbp)
flds   0xb21(%rip)
fdivrp %st,%st(1)
fldt   -0x20(%rbp)
fld    %st(1)
fdiv   %st(1),%st
fxch   %st(2)
fdivp  %st,%st(1)
mov    %rsp,%rax
fstpt  0x10(%rax)
fstpt  (%rax)
lea    0xb87(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    15d2 <main+0x492>
fldt   -0x30(%rbp)
fchs
flds   0xaea(%rip)
fld    %st(0)
fstpt  -0xdc(%rbp)
fdivrp %st,%st(1)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
fstpt  -0xb8(%rbp)
fldt   -0x50(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
fldt   -0xdc(%rbp)
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x70(%rbp)
fildl  -0x70(%rbp)
fldt   -0x20(%rbp)
fdivr  %st,%st(1)
fxch   %st(1)
fstpt  -0xc4(%rbp)
fldt   -0x30(%rbp)
fchs
fdivp  %st,%st(2)
fdivrp %st,%st(1)
fstpt  -0xd0(%rbp)
fldt   -0x50(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
fldt   -0xd0(%rbp)
fldt   -0xc4(%rbp)
fldt   -0xb8(%rbp)
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x6c(%rbp)
fildl  -0x6c(%rbp)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
mov    %rsp,%rax
fstpt  0x30(%rax)
fxch   %st(2)
fstpt  0x20(%rax)
fstpt  0x10(%rax)
fstpt  (%rax)
lea    0xaf2(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    163f <main+0x4ff>
fldt   -0x50(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x60(%rbp)
fildl  -0x60(%rbp)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
fstpt  -0xe8(%rbp)
fldt   -0x50(%rbp)
fchs
mov    %rsp,%rax
fstpt  (%rax)
call   1060 <sqrt@plt>
fldt   -0xe8(%rbp)
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %ecx,%eax
sar    %eax
mov    %eax,-0x5c(%rbp)
fildl  -0x5c(%rbp)
fldt   -0x20(%rbp)
fdivrp %st,%st(1)
mov    %rsp,%rax
fstpt  0x10(%rax)
fstpt  (%rax)
lea    0xaae(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1644 <main+0x504>
jmp    1649 <main+0x509>
lea    0xa14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x9c2(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x58(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x58(%rbp)
jmp    115a <main+0x1a>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
lea    0xea0(%rip),%rdi
lea    0x50(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
fldt   0x50(%rsp)
test   %rax,%rax
je     15ca <main+0x46a>
fldl   0xe69(%rip)
fucomip %st(1),%st
fstp   %st(0)
fldz
ja     15ca <main+0x46a>
fstp   %st(0)
mov    $0x1,%ebx
lea    0xc0(%rsp),%r12
lea    0xe64(%rip),%r13
lea    0xf3b(%rip),%rbp
lea    0xe51(%rip),%r14
lea    0x50(%rsp),%r15
fldz
xchg   %ax,%ax
fstp   %st(0)
lea    0xe3b(%rip),%rdi
lea    0x70(%rsp),%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
fldt   0x50(%rsp)
fldz
fucomip %st(1),%st
jbe    1221 <main+0xc1>
fchs
fld    %st(0)
fstpt  0x50(%rsp)
fldt   0x70(%rsp)
fchs
fstpt  0x70(%rsp)
fldt   0xc0(%rsp)
fchs
fstpt  0xc0(%rsp)
fld1
fxch   %st(1)
fucomi %st(1),%st
fstp   %st(1)
jne    1240 <main+0xe0>
jp     1240 <main+0xe0>
fstp   %st(0)
lea    0xdf6(%rip),%rdi
jmp    124a <main+0xea>
nopl   0x0(%rax,%rax,1)
fstpt  (%rsp)
lea    0xdde(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
fldt   0x70(%rsp)
fldz
fxch   %st(1)
fucomi %st(1),%st
jbe    1280 <main+0x120>
fstp   %st(1)
fld1
fxch   %st(1)
fucomi %st(1),%st
fstp   %st(1)
jne    129f <main+0x13f>
jp     129f <main+0x13f>
fstp   %st(0)
lea    0xdbd(%rip),%rdi
jmp    12c0 <main+0x160>
cs nopw 0x0(%rax,%rax,1)
fxch   %st(1)
fucomip %st(1),%st
jbe    12c9 <main+0x169>
fld1
fchs
fxch   %st(1)
fucomi %st(1),%st
fstp   %st(1)
jne    12ab <main+0x14b>
jp     12ab <main+0x14b>
fstp   %st(0)
lea    0xda1(%rip),%rdi
jmp    12c0 <main+0x160>
fstpt  (%rsp)
lea    0xd8d(%rip),%rdi
jmp    12c0 <main+0x160>
fchs
fstpt  (%rsp)
lea    0xd8c(%rip),%rdi
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <printf@plt>
fldz
fstp   %st(0)
fldt   0xc0(%rsp)
fldz
fxch   %st(1)
fucomi %st(1),%st
jbe    12f0 <main+0x190>
fstp   %st(1)
fstpt  (%rsp)
lea    0xd65(%rip),%rdi
jmp    1302 <main+0x1a2>
nopl   0x0(%rax,%rax,1)
fxch   %st(1)
fucomip %st(1),%st
jbe    130b <main+0x1ab>
fchs
fstpt  (%rsp)
lea    0xd50(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
fldz
fstp   %st(0)
mov    %rbp,%rdi
call   1040 <puts@plt>
fldt   0x70(%rsp)
fldt   0x50(%rsp)
fldt   0xc0(%rsp)
fld    %st(1)
fmuls  0xcdc(%rip)
fmulp  %st,%st(1)
fld    %st(2)
fmul   %st(3),%st
faddp  %st,%st(1)
fldz
fxch   %st(1)
fucomi %st(1),%st
fstp   %st(1)
jne    1360 <main+0x200>
jp     1360 <main+0x200>
fstp   %st(0)
fxch   %st(1)
fmuls  0xcc2(%rip)
fdivp  %st,%st(1)
fstpt  (%rsp)
lea    0xd03(%rip),%rdi
jmp    1580 <main+0x420>
nopl   0x0(%rax,%rax,1)
fstp   %st(1)
jbe    13fd <main+0x29d>
fxch   %st(1)
fchs
fstpt  0x44(%rsp)
fld    %st(0)
fstpt  (%rsp)
fstpt  0x64(%rsp)
call   1080 <sqrt@plt>
mov    %eax,0x8c(%rsp)
fldt   0x44(%rsp)
fisubl 0x8c(%rsp)
flds   0xc7a(%rip)
fld    %st(0)
fstpt  0xb4(%rsp)
fmulp  %st,%st(1)
fldt   0x50(%rsp)
fdivrp %st,%st(1)
fstpt  0x44(%rsp)
fldt   0x70(%rsp)
fstpt  0xa8(%rsp)
fldt   0x64(%rsp)
fstpt  (%rsp)
call   1080 <sqrt@plt>
mov    %eax,0x90(%rsp)
fldt   0xa8(%rsp)
fisubrl 0x90(%rsp)
fldt   0xb4(%rsp)
fmulp  %st,%st(1)
fldt   0x50(%rsp)
fdivrp %st,%st(1)
fldt   0x44(%rsp)
fstpt  (%rsp)
fstpt  0x10(%rsp)
lea    0xc7b(%rip),%rdi
jmp    1580 <main+0x420>
fchs
fld    %st(0)
fstpt  0x44(%rsp)
fstpt  (%rsp)
fstpt  0x64(%rsp)
call   1080 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
fldz
fldt   0x64(%rsp)
fucomip %st(1),%st
fstp   %st(0)
mov    %ecx,0xa4(%rsp)
fldt   0x50(%rsp)
fidivrl 0xa4(%rsp)
jne    143e <main+0x2de>
jnp    1528 <main+0x3c8>
fldt   0x44(%rsp)
fstp   %st(0)
fld1
fchs
faddp  %st,%st(1)
fnstcw 0x42(%rsp)
movzwl 0x42(%rsp),%eax
or     $0xc00,%eax
mov    %ax,0x4e(%rsp)
fldcw  0x4e(%rsp)
fistpl 0x9c(%rsp)
fldcw  0x42(%rsp)
mov    0x9c(%rsp),%edi
call   1060 <fabs@plt>
fldt   0x70(%rsp)
fmuls  0xb8a(%rip)
fldt   0x50(%rsp)
fdivrp %st,%st(1)
test   %eax,%eax
jle    1567 <main+0x407>
fldt   0x44(%rsp)
fstpt  (%rsp)
fstpt  0x64(%rsp)
call   1080 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
mov    %ecx,0x94(%rsp)
fldt   0x50(%rsp)
fld    %st(0)
fidivrl 0x94(%rsp)
fstpt  0xb4(%rsp)
fldt   0x70(%rsp)
fmuls  0xb3e(%rip)
fdivp  %st,%st(1)
fstpt  0xa8(%rsp)
fldt   0x44(%rsp)
fstpt  (%rsp)
call   1080 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
mov    %ecx,0x98(%rsp)
fldt   0x50(%rsp)
fidivrl 0x98(%rsp)
fldt   0xa8(%rsp)
fstpt  0x20(%rsp)
fldt   0xb4(%rsp)
fstpt  0x10(%rsp)
fldt   0x64(%rsp)
fstpt  (%rsp)
fstpt  0x30(%rsp)
lea    0xb8a(%rip),%rdi
jmp    1580 <main+0x420>
fldt   0x44(%rsp)
fstpt  (%rsp)
fstpt  0x44(%rsp)
call   1080 <sqrt@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
mov    %ecx,0xa0(%rsp)
fldt   0x50(%rsp)
fidivrl 0xa0(%rsp)
fldt   0x44(%rsp)
fstpt  (%rsp)
fstpt  0x10(%rsp)
lea    0xb74(%rip),%rdi
jmp    1580 <main+0x420>
fld    %st(0)
fstpt  0x10(%rsp)
fstpt  (%rsp)
lea    0xb16(%rip),%rdi
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %r14,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
fldt   0x50(%rsp)
test   %rax,%rax
je     15ca <main+0x46a>
add    $0x1,%rbx
fldl   0xa42(%rip)
fucomip %st(1),%st
fstp   %st(0)
fldz
jbe    11d0 <main+0x70>
fstp   %st(0)
xor    %eax,%eax
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%llf\00"
@.str.1 = [9 x i8] c"%llf%llf\00"
@.str.2 = [11 x i8] c"Case %ld:\0A\00"
@.str.3 = [5 x i8] c"x^2 \00"
@.str.4 = [9 x i8] c"%llfx^2 \00"
@.str.5 = [5 x i8] c"+ x \00"
@.str.6 = [8 x i8] c"+ %lgx \00"
@.str.7 = [5 x i8] c"- x \00"
@.str.8 = [8 x i8] c"- %lgx \00"
@.str.9 = [7 x i8] c"+ %lg \00"
@.str.10 = [7 x i8] c"- %lg \00"
@.str.11 = [5 x i8] c"= 0\0A\00"
@.str.12 = [26 x i8] c"only one real root : %lg\0A\00"
@.str.13 = [26 x i8] c"two real roots : %lg,%lg\0A\00"
@.str.14 = [35 x i8] c"two imaginary roots : %lg+i,%lg-i\0A\00"
@.str.15 = [41 x i8] c"two imaginary roots : %lg+%lgi,%lg-%lgi\0A\00"
@.str.16 = [34 x i8] c"two imaginary roots : %lgi,-%lgi\0A\00"
@.str.17 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca x86_fp80
%3 = alloca x86_fp80
%4 = alloca x86_fp80
%5 = alloca x86_fp80
%6 = alloca i64
store i32 0, i32* %1
store i64 1, i64* %6
br label %7
7: ; preds = %196, %0
%8 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), x86_fp80* %2)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %197
10: ; preds = %7
%11 = load x86_fp80, x86_fp80* %2
%12 = fsub x86_fp80 %11, 0xK00000000000000000000
%13 = fcmp olt x86_fp80 %12, 0xK3FE4ABCC77118461D000
br i1 %13, label %14, label %15
14: ; preds = %10
br label %197
15: ; preds = %10
%16 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), x86_fp80* %3, x86_fp80* %4)
%17 = load i64, i64* %6
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i64 %17)
%19 = load x86_fp80, x86_fp80* %2
%20 = fcmp olt x86_fp80 %19, 0xK00000000000000000000
br i1 %20, label %21, label %28
21: ; preds = %15
%22 = load x86_fp80, x86_fp80* %2
%23 = fneg x86_fp80 %22
store x86_fp80 %23, x86_fp80* %2
%24 = load x86_fp80, x86_fp80* %3
%25 = fneg x86_fp80 %24
store x86_fp80 %25, x86_fp80* %3
%26 = load x86_fp80, x86_fp80* %4
%27 = fneg x86_fp80 %26
store x86_fp80 %27, x86_fp80* %4
br label %28
28: ; preds = %21, %15
%29 = load x86_fp80, x86_fp80* %2
%30 = fcmp oeq x86_fp80 %29, 0xK3FFF8000000000000000
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %36
33: ; preds = %28
%34 = load x86_fp80, x86_fp80* %2
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), x86_fp80 %34)
br label %36
36: ; preds = %33, %31
%37 = load x86_fp80, x86_fp80* %3
%38 = fcmp ogt x86_fp80 %37, 0xK00000000000000000000
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load x86_fp80, x86_fp80* %3
%41 = fcmp oeq x86_fp80 %40, 0xK3FFF8000000000000000
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %47
44: ; preds = %39
%45 = load x86_fp80, x86_fp80* %3
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), x86_fp80 %45)
br label %47
47: ; preds = %44, %42
br label %62
48: ; preds = %36
%49 = load x86_fp80, x86_fp80* %3
%50 = fcmp olt x86_fp80 %49, 0xK00000000000000000000
br i1 %50, label %51, label %61
51: ; preds = %48
%52 = load x86_fp80, x86_fp80* %3
%53 = fcmp oeq x86_fp80 %52, 0xKBFFF8000000000000000
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %60
56: ; preds = %51
%57 = load x86_fp80, x86_fp80* %3
%58 = fneg x86_fp80 %57
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), x86_fp80 %58)
br label %60
60: ; preds = %56, %54
br label %61
61: ; preds = %60, %48
br label %62
62: ; preds = %61, %47
%63 = load x86_fp80, x86_fp80* %4
%64 = fcmp ogt x86_fp80 %63, 0xK00000000000000000000
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load x86_fp80, x86_fp80* %4
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), x86_fp80 %66)
br label %76
68: ; preds = %62
%69 = load x86_fp80, x86_fp80* %4
%70 = fcmp olt x86_fp80 %69, 0xK00000000000000000000
br i1 %70, label %71, label %75
71: ; preds = %68
%72 = load x86_fp80, x86_fp80* %4
%73 = fneg x86_fp80 %72
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), x86_fp80 %73)
br label %75
75: ; preds = %71, %68
br label %76
76: ; preds = %75, %65
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%78 = load x86_fp80, x86_fp80* %3
%79 = load x86_fp80, x86_fp80* %3
%80 = load x86_fp80, x86_fp80* %2
%81 = fmul x86_fp80 0xK40018000000000000000, %80
%82 = load x86_fp80, x86_fp80* %4
%83 = fmul x86_fp80 %81, %82
%84 = fneg x86_fp80 %83
%85 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %79, x86_fp80 %84)
store x86_fp80 %85, x86_fp80* %5
%86 = load x86_fp80, x86_fp80* %5
%87 = fcmp oeq x86_fp80 %86, 0xK00000000000000000000
br i1 %87, label %88, label %95
88: ; preds = %76
%89 = load x86_fp80, x86_fp80* %3
%90 = fneg x86_fp80 %89
%91 = fdiv x86_fp80 %90, 0xK40008000000000000000
%92 = load x86_fp80, x86_fp80* %2
%93 = fdiv x86_fp80 %91, %92
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), x86_fp80 %93)
br label %191
95: ; preds = %76
%96 = load x86_fp80, x86_fp80* %5
%97 = fcmp ogt x86_fp80 %96, 0xK00000000000000000000
br i1 %97, label %98, label %118
98: ; preds = %95
%99 = load x86_fp80, x86_fp80* %3
%100 = fneg x86_fp80 %99
%101 = load x86_fp80, x86_fp80* %5
%102 = call i32 @sqrt(x86_fp80 %101)
%103 = sitofp i32 %102 to x86_fp80
%104 = fsub x86_fp80 %100, %103
%105 = fdiv x86_fp80 %104, 0xK40008000000000000000
%106 = load x86_fp80, x86_fp80* %2
%107 = fdiv x86_fp80 %105, %106
%108 = load x86_fp80, x86_fp80* %3
%109 = fneg x86_fp80 %108
%110 = load x86_fp80, x86_fp80* %5
%111 = call i32 @sqrt(x86_fp80 %110)
%112 = sitofp i32 %111 to x86_fp80
%113 = fadd x86_fp80 %109, %112
%114 = fdiv x86_fp80 %113, 0xK40008000000000000000
%115 = load x86_fp80, x86_fp80* %2
%116 = fdiv x86_fp80 %114, %115
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), x86_fp80 %107, x86_fp80 %116)
br label %190
118: ; preds = %95
%119 = load x86_fp80, x86_fp80* %3
%120 = fcmp une x86_fp80 %119, 0xK00000000000000000000
br i1 %120, label %121, label %173
121: ; preds = %118
%122 = load x86_fp80, x86_fp80* %5
%123 = fneg x86_fp80 %122
%124 = call i32 @sqrt(x86_fp80 %123)
%125 = sdiv i32 %124, 2
%126 = sitofp i32 %125 to x86_fp80
%127 = load x86_fp80, x86_fp80* %2
%128 = fdiv x86_fp80 %126, %127
%129 = fsub x86_fp80 %128, 0xK3FFF8000000000000000
%130 = fptosi x86_fp80 %129 to i32
%131 = call i32 @fabs(i32 %130)
%132 = sitofp i32 %131 to double
%133 = fcmp ole double %132, 0x3EB0C6F7A0B5ED8D
br i1 %133, label %134, label %146
134: ; preds = %121
%135 = load x86_fp80, x86_fp80* %3
%136 = fneg x86_fp80 %135
%137 = fdiv x86_fp80 %136, 0xK40008000000000000000
%138 = load x86_fp80, x86_fp80* %2
%139 = fdiv x86_fp80 %137, %138
%140 = load x86_fp80, x86_fp80* %3
%141 = fneg x86_fp80 %140
%142 = fdiv x86_fp80 %141, 0xK40008000000000000000
%143 = load x86_fp80, x86_fp80* %2
%144 = fdiv x86_fp80 %142, %143
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), x86_fp80 %139, x86_fp80 %144)
br label %172
146: ; preds = %121
%147 = load x86_fp80, x86_fp80* %3
%148 = fneg x86_fp80 %147
%149 = fdiv x86_fp80 %148, 0xK40008000000000000000
%150 = load x86_fp80, x86_fp80* %2
%151 = fdiv x86_fp80 %149, %150
%152 = load x86_fp80, x86_fp80* %5
%153 = fneg x86_fp80 %152
%154 = call i32 @sqrt(x86_fp80 %153)
%155 = sdiv i32 %154, 2
%156 = sitofp i32 %155 to x86_fp80
%157 = load x86_fp80, x86_fp80* %2
%158 = fdiv x86_fp80 %156, %157
%159 = load x86_fp80, x86_fp80* %3
%160 = fneg x86_fp80 %159
%161 = fdiv x86_fp80 %160, 0xK40008000000000000000
%162 = load x86_fp80, x86_fp80* %2
%163 = fdiv x86_fp80 %161, %162
%164 = load x86_fp80, x86_fp80* %5
%165 = fneg x86_fp80 %164
%166 = call i32 @sqrt(x86_fp80 %165)
%167 = sdiv i32 %166, 2
%168 = sitofp i32 %167 to x86_fp80
%169 = load x86_fp80, x86_fp80* %2
%170 = fdiv x86_fp80 %168, %169
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0), x86_fp80 %151, x86_fp80 %158, x86_fp80 %163, x86_fp80 %170)
br label %172
172: ; preds = %146, %134
br label %189
173: ; preds = %118
%174 = load x86_fp80, x86_fp80* %5
%175 = fneg x86_fp80 %174
%176 = call i32 @sqrt(x86_fp80 %175)
%177 = sdiv i32 %176, 2
%178 = sitofp i32 %177 to x86_fp80
%179 = load x86_fp80, x86_fp80* %2
%180 = fdiv x86_fp80 %178, %179
%181 = load x86_fp80, x86_fp80* %5
%182 = fneg x86_fp80 %181
%183 = call i32 @sqrt(x86_fp80 %182)
%184 = sdiv i32 %183, 2
%185 = sitofp i32 %184 to x86_fp80
%186 = load x86_fp80, x86_fp80* %2
%187 = fdiv x86_fp80 %185, %186
%188 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0), x86_fp80 %180, x86_fp80 %187)
br label %189
189: ; preds = %173, %172
br label %190
190: ; preds = %189, %98
br label %191
191: ; preds = %190, %88
%192 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.17, i64 0, i64 0))
%193 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), x86_fp80* %2)
%194 = load i64, i64* %6
%195 = add nsw i64 %194, 1
store i64 %195, i64* %6
br label %196
196: ; preds = %191
br label %7
197: ; preds = %14, %7
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"%llf\00"
@.str.1 = [9 x i8] c"%llf%llf\00"
@.str.2 = [11 x i8] c"Case %ld:\0A\00"
@.str.3 = [5 x i8] c"x^2 \00"
@.str.4 = [9 x i8] c"%llfx^2 \00"
@.str.5 = [5 x i8] c"+ x \00"
@.str.6 = [8 x i8] c"+ %lgx \00"
@.str.7 = [5 x i8] c"- x \00"
@.str.8 = [8 x i8] c"- %lgx \00"
@.str.9 = [7 x i8] c"+ %lg \00"
@.str.10 = [7 x i8] c"- %lg \00"
@.str.12 = [26 x i8] c"only one real root : %lg\0A\00"
@.str.13 = [26 x i8] c"two real roots : %lg,%lg\0A\00"
@.str.14 = [35 x i8] c"two imaginary roots : %lg+i,%lg-i\0A\00"
@.str.15 = [41 x i8] c"two imaginary roots : %lg+%lgi,%lg-%lgi\0A\00"
@.str.16 = [34 x i8] c"two imaginary roots : %lgi,-%lgi\0A\00"
@str = [4 x i8] c"= 0\00"
define i32 @main() {
%1 = alloca x86_fp80
%2 = alloca x86_fp80
%3 = alloca x86_fp80
%4 = bitcast x86_fp80* %1 to i8*
%5 = bitcast x86_fp80* %2 to i8*
%6 = bitcast x86_fp80* %3 to i8*
%7 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%8 = icmp eq i64 %7, 0
%9 = load x86_fp80, x86_fp80* %1
%10 = fcmp olt x86_fp80 %9, 0xK3FE4ABCC77118461D000
%11 = select i1 %8, i1 true, i1 %10
br i1 %11, label %140, label %12
12: ; preds = %0, %131
%13 = phi i64 [ %134, %131 ], [ 1, %0 ]
%14 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), x86_fp80* %2, x86_fp80* %3)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i64 %13)
%16 = load x86_fp80, x86_fp80* %1
%17 = fcmp olt x86_fp80 %16, 0xK00000000000000000000
br i1 %17, label %18, label %24
18: ; preds = %12
%19 = fneg x86_fp80 %16
store x86_fp80 %19, x86_fp80* %1
%20 = load x86_fp80, x86_fp80* %2
%21 = fneg x86_fp80 %20
store x86_fp80 %21, x86_fp80* %2
%22 = load x86_fp80, x86_fp80* %3
%23 = fneg x86_fp80 %22
store x86_fp80 %23, x86_fp80* %3
br label %24
24: ; preds = %18, %12
%25 = phi x86_fp80 [ %19, %18 ], [ %16, %12 ]
%26 = fcmp oeq x86_fp80 %25, 0xK3FFF8000000000000000
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %31
29: ; preds = %24
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), x86_fp80 %25)
br label %31
31: ; preds = %29, %27
%32 = load x86_fp80, x86_fp80* %2
%33 = fcmp ogt x86_fp80 %32, 0xK00000000000000000000
br i1 %33, label %34, label %40
34: ; preds = %31
%35 = fcmp oeq x86_fp80 %32, 0xK3FFF8000000000000000
br i1 %35, label %36, label %38
36: ; preds = %34
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %49
38: ; preds = %34
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), x86_fp80 %32)
br label %49
40: ; preds = %31
%41 = fcmp olt x86_fp80 %32, 0xK00000000000000000000
br i1 %41, label %42, label %49
42: ; preds = %40
%43 = fcmp oeq x86_fp80 %32, 0xKBFFF8000000000000000
br i1 %43, label %44, label %46
44: ; preds = %42
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %49
46: ; preds = %42
%47 = fneg x86_fp80 %32
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), x86_fp80 %47)
br label %49
49: ; preds = %40, %46, %44, %36, %38
%50 = load x86_fp80, x86_fp80* %3
%51 = fcmp ogt x86_fp80 %50, 0xK00000000000000000000
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), x86_fp80 %50)
br label %59
54: ; preds = %49
%55 = fcmp olt x86_fp80 %50, 0xK00000000000000000000
br i1 %55, label %56, label %59
56: ; preds = %54
%57 = fneg x86_fp80 %50
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), x86_fp80 %57)
br label %59
59: ; preds = %54, %56, %52
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0))
%61 = load x86_fp80, x86_fp80* %2
%62 = load x86_fp80, x86_fp80* %1
%63 = load x86_fp80, x86_fp80* %3
%64 = fmul x86_fp80 %62, 0xKC0018000000000000000
%65 = fmul x86_fp80 %64, %63
%66 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %61, x86_fp80 %61, x86_fp80 %65)
%67 = fcmp oeq x86_fp80 %66, 0xK00000000000000000000
br i1 %67, label %68, label %72
68: ; preds = %59
%69 = fmul x86_fp80 %61, 0xKBFFE8000000000000000
%70 = fdiv x86_fp80 %69, %62
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), x86_fp80 %70)
br label %131
72: ; preds = %59
%73 = fcmp ogt x86_fp80 %66, 0xK00000000000000000000
br i1 %73, label %74, label %90
74: ; preds = %72
%75 = fneg x86_fp80 %61
%76 = call i32 @sqrt(x86_fp80 %66)
%77 = sitofp i32 %76 to x86_fp80
%78 = fsub x86_fp80 %75, %77
%79 = fmul x86_fp80 %78, 0xK3FFE8000000000000000
%80 = load x86_fp80, x86_fp80* %1
%81 = fdiv x86_fp80 %79, %80
%82 = load x86_fp80, x86_fp80* %2
%83 = call i32 @sqrt(x86_fp80 %66)
%84 = sitofp i32 %83 to x86_fp80
%85 = fsub x86_fp80 %84, %82
%86 = fmul x86_fp80 %85, 0xK3FFE8000000000000000
%87 = load x86_fp80, x86_fp80* %1
%88 = fdiv x86_fp80 %86, %87
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0), x86_fp80 %81, x86_fp80 %88)
br label %131
90: ; preds = %72
%91 = fcmp une x86_fp80 %61, 0xK00000000000000000000
%92 = fneg x86_fp80 %66
%93 = call i32 @sqrt(x86_fp80 %92)
%94 = sdiv i32 %93, 2
%95 = sitofp i32 %94 to x86_fp80
%96 = load x86_fp80, x86_fp80* %1
%97 = fdiv x86_fp80 %95, %96
br i1 %91, label %98, label %124
98: ; preds = %90
%99 = fadd x86_fp80 %97, 0xKBFFF8000000000000000
%100 = fptosi x86_fp80 %99 to i32
%101 = call i32 @fabs(i32 %100)
%102 = icmp slt i32 %101, 1
%103 = load x86_fp80, x86_fp80* %2
%104 = fmul x86_fp80 %103, 0xKBFFE8000000000000000
%105 = load x86_fp80, x86_fp80* %1
%106 = fdiv x86_fp80 %104, %105
br i1 %102, label %107, label %109
107: ; preds = %98
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.14, i64 0, i64 0), x86_fp80 %106, x86_fp80 %106)
br label %131
109: ; preds = %98
%110 = call i32 @sqrt(x86_fp80 %92)
%111 = sdiv i32 %110, 2
%112 = sitofp i32 %111 to x86_fp80
%113 = load x86_fp80, x86_fp80* %1
%114 = fdiv x86_fp80 %112, %113
%115 = load x86_fp80, x86_fp80* %2
%116 = fmul x86_fp80 %115, 0xKBFFE8000000000000000
%117 = fdiv x86_fp80 %116, %113
%118 = call i32 @sqrt(x86_fp80 %92)
%119 = sdiv i32 %118, 2
%120 = sitofp i32 %119 to x86_fp80
%121 = load x86_fp80, x86_fp80* %1
%122 = fdiv x86_fp80 %120, %121
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.15, i64 0, i64 0), x86_fp80 %106, x86_fp80 %114, x86_fp80 %117, x86_fp80 %122)
br label %131
124: ; preds = %90
%125 = call i32 @sqrt(x86_fp80 %92)
%126 = sdiv i32 %125, 2
%127 = sitofp i32 %126 to x86_fp80
%128 = load x86_fp80, x86_fp80* %1
%129 = fdiv x86_fp80 %127, %128
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0), x86_fp80 %97, x86_fp80 %129)
br label %131
131: ; preds = %74, %107, %109, %124, %68
%132 = call i32 @putchar(i32 10)
%133 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%134 = add nuw nsw i64 %13, 1
%135 = call i64 (i8*, x86_fp80*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%136 = icmp eq i64 %135, 0
%137 = load x86_fp80, x86_fp80* %1
%138 = fcmp olt x86_fp80 %137, 0xK3FE4ABCC77118461D000
%139 = select i1 %136, i1 true, i1 %138
br i1 %139, label %140, label %12
140: ; preds = %131, %0
ret i32 0
}