#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 */
scalar_t__ EOF;
int /*<<< orphan*/ printf(char *, long double);
scalar_t__ scanf(char *, long double *);
long double sin(double);
void main() {
  long double p, s;
  while (scanf("%Lf", &p) != EOF) {
    s = (p * sin(3.141592654 * 108 / 180)) / sin(3.141592654 * 63 / 180);
    printf("%.10Lf\n", s);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
lea    0xed1(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1050 <scanf@plt>
mov    0x2e99(%rip),%rcx
cmp    (%rcx),%rax
je     11a1 <main+0x71>
fldt   -0x10(%rbp)
fstpt  -0x38(%rbp)
movsd  0xe9a(%rip),%xmm0
call   1040 <sin@plt>
fldt   -0x38(%rbp)
fmulp  %st,%st(1)
fstpt  -0x2c(%rbp)
movsd  0xe8d(%rip),%xmm0
call   1040 <sin@plt>
fldt   -0x2c(%rbp)
fdivp  %st,%st(1)
fstpt  -0x20(%rbp)
fldt   -0x20(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
lea    0xe7d(%rip),%rdi
call   1030 <printf@plt>
jmp    1138 <main+0x8>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x38,%rsp
lea    0xece(%rip),%rdi
lea    0x20(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x2e95(%rip),%r12
cmp    (%r12),%rax
je     11be <main+0x8e>
lea    0xeb4(%rip),%r14
lea    0xea9(%rip),%r15
lea    0x20(%rsp),%rbx
nopl   0x0(%rax)
fldt   0x20(%rsp)
fstpt  0x14(%rsp)
movsd  0xe80(%rip),%xmm0
call   1040 <sin@plt>
fldt   0x14(%rsp)
fmulp  %st,%st(1)
fstpt  0x14(%rsp)
movsd  0xe71(%rip),%xmm0
call   1040 <sin@plt>
fldt   0x14(%rsp)
fdivp  %st,%st(1)
fstpt  (%rsp)
mov    %r14,%rdi
call   1030 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
cmp    (%r12),%rax
jne    1170 <main+0x40>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%Lf\00"
@EOF = global i64 0
@.str.1 = [8 x i8] c"%.10Lf\0A\00"
define void @main() {
%1 = alloca x86_fp80
%2 = alloca x86_fp80
br label %3
3: ; preds = %7, %0
%4 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%5 = load i64, i64* @EOF
%6 = icmp ne i64 %4, %5
br i1 %6, label %7, label %15
7: ; preds = %3
%8 = load x86_fp80, x86_fp80* %1
%9 = call x86_fp80 @sin(double 0x3FFE28C731FC532E)
%10 = fmul x86_fp80 %8, %9
%11 = call x86_fp80 @sin(double 0x3FF197C987D33085)
%12 = fdiv x86_fp80 %10, %11
store x86_fp80 %12, x86_fp80* %2
%13 = load x86_fp80, x86_fp80* %2
%14 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), x86_fp80 %13)
br label %3
15: ; preds = %3
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"%Lf\00"
@EOF = global i64 0
@.str.1 = [8 x i8] c"%.10Lf\0A\00"
define void @main() {
%1 = alloca x86_fp80
%2 = bitcast x86_fp80* %1 to i8*
%3 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%4 = load i64, i64* @EOF
%5 = icmp eq i64 %3, %4
br i1 %5, label %16, label %6
6: ; preds = %0, %6
%7 = load x86_fp80, x86_fp80* %1
%8 = call x86_fp80 @sin(double 0x3FFE28C731FC532E)
%9 = fmul x86_fp80 %7, %8
%10 = call x86_fp80 @sin(double 0x3FF197C987D33085)
%11 = fdiv x86_fp80 %9, %10
%12 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), x86_fp80 %11)
%13 = call i64 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), x86_fp80* %1)
%14 = load i64, i64* @EOF
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %6
16: ; preds = %6, %0
ret void
}