#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 acos(double);
double asin(double);
double atan(double);
double ceil(double);
double cos(double);
double cosh(double);
double exp(int);
double fabs(double);
double floor(double);
double fmod(double, double);
double log(double);
double log10(int);
double pow(double, double);
int /*<<< orphan*/ printf(char *, double);
double sin(double);
double sinh(double);
double sqrt(int);
double tan(double);
double tanh(double);
int main(void) {
  printf("fabs(-12.3)..%f\n", fabs(-12.3));
  printf("pow(2.5, 3.2)..%f\n", pow(2.5, 3.2));
  printf("fmod(3.5, 2.8)..%f\n", fmod(3.5, 2.8));
  printf("ceil(3.2)..%f\n", ceil(3.2));
  printf("floor(3.2)..%f\n", floor(3.2));
  printf("sqrt(10)..%f\n", sqrt(10));
  printf("exp(5)..%f\n", exp(5));
  printf("log10(5134)..%f\n", log10(5134));
  printf("log(35.3)..%f\n", log(35.3));
  printf("sin(0.8)..%f\n", sin(0.8));
  printf("cos(0.8)..%f\n", cos(0.8));
  printf("tan(0.8)..%f\n", tan(0.8));
  printf("asin(0.8)..%f\n", asin(0.8));
  printf("acos(0.8)..%f\n", acos(0.8));
  printf("atan(0.8)..%f\n", atan(0.8));
  printf("sinh(0.8)..%f\n", sinh(0.8));
  printf("cosh(0.8)..%f\n", cosh(0.8));
  printf("tanh(0.8)..%f\n", tanh(0.8));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
movsd  0xe34(%rip),%xmm0
lea    0xe35(%rip),%rdi
call   1060 <printf@plt>
movsd  0xe10(%rip),%xmm0
movsd  0xe10(%rip),%xmm1
call   1100 <pow@plt>
lea    0xe25(%rip),%rdi
call   1060 <printf@plt>
movsd  0xddf(%rip),%xmm0
movsd  0xddf(%rip),%xmm1
call   1070 <fmod@plt>
lea    0xe17(%rip),%rdi
call   1060 <printf@plt>
movsd  0xdb6(%rip),%xmm0
lea    0xe17(%rip),%rdi
call   1060 <printf@plt>
movsd  0xd9a(%rip),%xmm0
lea    0xe12(%rip),%rdi
call   1060 <printf@plt>
mov    $0xa,%edi
call   1120 <sqrt@plt>
lea    0xe0c(%rip),%rdi
call   1060 <printf@plt>
mov    $0x5,%edi
call   10c0 <exp@plt>
lea    0xe04(%rip),%rdi
call   1060 <printf@plt>
mov    $0x140e,%edi
call   1110 <log10@plt>
lea    0xdfa(%rip),%rdi
call   1060 <printf@plt>
movsd  0xd3c(%rip),%xmm0
call   10f0 <log@plt>
lea    0xdf2(%rip),%rdi
call   1060 <printf@plt>
movsd  0xd1b(%rip),%xmm0
call   1090 <sin@plt>
lea    0xde9(%rip),%rdi
call   1060 <printf@plt>
movsd  0xd02(%rip),%xmm0
call   10e0 <cos@plt>
lea    0xddf(%rip),%rdi
call   1060 <printf@plt>
movsd  0xce9(%rip),%xmm0
call   10d0 <tan@plt>
lea    0xdd5(%rip),%rdi
call   1060 <printf@plt>
movsd  0xcd0(%rip),%xmm0
call   10b0 <asin@plt>
lea    0xd9d(%rip),%rdi
call   1060 <printf@plt>
movsd  0xcb7(%rip),%xmm0
call   1080 <acos@plt>
lea    0xd93(%rip),%rdi
call   1060 <printf@plt>
movsd  0xc9e(%rip),%xmm0
call   10a0 <atan@plt>
lea    0xd89(%rip),%rdi
call   1060 <printf@plt>
movsd  0xc85(%rip),%xmm0
call   1030 <sinh@plt>
lea    0xd7f(%rip),%rdi
call   1060 <printf@plt>
movsd  0xc6c(%rip),%xmm0
call   1050 <cosh@plt>
lea    0xd75(%rip),%rdi
call   1060 <printf@plt>
movsd  0xc53(%rip),%xmm0
call   1040 <tanh@plt>
lea    0xd6b(%rip),%rdi
call   1060 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf18(%rip),%rdi
movsd  0xe90(%rip),%xmm0
call   1040 <printf@plt>
lea    0xf15(%rip),%rdi
movsd  0xe84(%rip),%xmm0
call   1040 <printf@plt>
lea    0xf14(%rip),%rdi
movsd  0xe78(%rip),%xmm0
call   1040 <printf@plt>
lea    0xf14(%rip),%rdi
movsd  0xe6c(%rip),%xmm0
call   1040 <printf@plt>
lea    0xf0f(%rip),%rdi
movsd  0xe60(%rip),%xmm0
call   1040 <printf@plt>
mov    $0xa,%edi
call   1080 <sqrt@plt>
lea    0xf01(%rip),%rdi
call   1040 <printf@plt>
mov    $0x5,%edi
call   1060 <exp@plt>
lea    0xef9(%rip),%rdi
call   1040 <printf@plt>
mov    $0x140e,%edi
call   1070 <log10@plt>
lea    0xeef(%rip),%rdi
call   1040 <printf@plt>
lea    0xef4(%rip),%rdi
movsd  0xe12(%rip),%xmm0
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
movsd  0xe06(%rip),%xmm0
call   1040 <printf@plt>
lea    0xeeb(%rip),%rdi
movsd  0xdfa(%rip),%xmm0
call   1040 <printf@plt>
lea    0xee6(%rip),%rdi
movsd  0xdee(%rip),%xmm0
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
movsd  0xde2(%rip),%xmm0
call   1040 <printf@plt>
lea    0xeae(%rip),%rdi
movsd  0xdd6(%rip),%xmm0
call   1040 <printf@plt>
movsd  0xdd1(%rip),%xmm0
call   1050 <atan@plt>
lea    0xe9c(%rip),%rdi
movsd  0xdc5(%rip),%xmm0
call   1040 <printf@plt>
lea    0xe97(%rip),%rdi
movsd  0xdb9(%rip),%xmm0
call   1040 <printf@plt>
lea    0xe92(%rip),%rdi
movsd  0xdad(%rip),%xmm0
call   1040 <printf@plt>
movsd  0xd88(%rip),%xmm0
call   1030 <tanh@plt>
lea    0xe80(%rip),%rdi
movsd  0xd94(%rip),%xmm0
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"fabs(-12.3)..%f\0A\00"
@.str.1 = [19 x i8] c"pow(2.5, 3.2)..%f\0A\00"
@.str.2 = [20 x i8] c"fmod(3.5, 2.8)..%f\0A\00"
@.str.3 = [15 x i8] c"ceil(3.2)..%f\0A\00"
@.str.4 = [16 x i8] c"floor(3.2)..%f\0A\00"
@.str.5 = [14 x i8] c"sqrt(10)..%f\0A\00"
@.str.6 = [12 x i8] c"exp(5)..%f\0A\00"
@.str.7 = [17 x i8] c"log10(5134)..%f\0A\00"
@.str.8 = [15 x i8] c"log(35.3)..%f\0A\00"
@.str.9 = [14 x i8] c"sin(0.8)..%f\0A\00"
@.str.10 = [14 x i8] c"cos(0.8)..%f\0A\00"
@.str.11 = [14 x i8] c"tan(0.8)..%f\0A\00"
@.str.12 = [15 x i8] c"asin(0.8)..%f\0A\00"
@.str.13 = [15 x i8] c"acos(0.8)..%f\0A\00"
@.str.14 = [15 x i8] c"atan(0.8)..%f\0A\00"
@.str.15 = [15 x i8] c"sinh(0.8)..%f\0A\00"
@.str.16 = [15 x i8] c"cosh(0.8)..%f\0A\00"
@.str.17 = [15 x i8] c"tanh(0.8)..%f\0A\00"
define i32 @main() {
%1 = call double @llvm.fabs.f64(double -1.230000e+01)
%2 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), double %1)
%3 = call double @pow(double 2.500000e+00, double 3.200000e+00)
%4 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %3)
%5 = call double @fmod(double 3.500000e+00, double 2.800000e+00)
%6 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), double %5)
%7 = call double @llvm.ceil.f64(double 3.200000e+00)
%8 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double %7)
%9 = call double @llvm.floor.f64(double 3.200000e+00)
%10 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), double %9)
%11 = call double @sqrt(i32 10)
%12 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), double %11)
%13 = call double @exp(i32 5)
%14 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), double %13)
%15 = call double @log10(i32 5134)
%16 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double %15)
%17 = call double @log(double 3.530000e+01)
%18 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), double %17)
%19 = call double @sin(double 8.000000e-01)
%20 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), double %19)
%21 = call double @cos(double 8.000000e-01)
%22 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), double %21)
%23 = call double @tan(double 8.000000e-01)
%24 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0), double %23)
%25 = call double @asin(double 8.000000e-01)
%26 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), double %25)
%27 = call double @acos(double 8.000000e-01)
%28 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0), double %27)
%29 = call double @atan(double 8.000000e-01)
%30 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), double %29)
%31 = call double @sinh(double 8.000000e-01)
%32 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double %31)
%33 = call double @cosh(double 8.000000e-01)
%34 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), double %33)
%35 = call double @tanh(double 8.000000e-01)
%36 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), double %35)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"fabs(-12.3)..%f\0A\00"
@.str.1 = [19 x i8] c"pow(2.5, 3.2)..%f\0A\00"
@.str.2 = [20 x i8] c"fmod(3.5, 2.8)..%f\0A\00"
@.str.3 = [15 x i8] c"ceil(3.2)..%f\0A\00"
@.str.4 = [16 x i8] c"floor(3.2)..%f\0A\00"
@.str.5 = [14 x i8] c"sqrt(10)..%f\0A\00"
@.str.6 = [12 x i8] c"exp(5)..%f\0A\00"
@.str.7 = [17 x i8] c"log10(5134)..%f\0A\00"
@.str.8 = [15 x i8] c"log(35.3)..%f\0A\00"
@.str.9 = [14 x i8] c"sin(0.8)..%f\0A\00"
@.str.10 = [14 x i8] c"cos(0.8)..%f\0A\00"
@.str.11 = [14 x i8] c"tan(0.8)..%f\0A\00"
@.str.12 = [15 x i8] c"asin(0.8)..%f\0A\00"
@.str.13 = [15 x i8] c"acos(0.8)..%f\0A\00"
@.str.14 = [15 x i8] c"atan(0.8)..%f\0A\00"
@.str.15 = [15 x i8] c"sinh(0.8)..%f\0A\00"
@.str.16 = [15 x i8] c"cosh(0.8)..%f\0A\00"
@.str.17 = [15 x i8] c"tanh(0.8)..%f\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), double 1.230000e+01)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double 0x4032C47F6B9F2309)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), double 0x3FE6666666666668)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), double 4.000000e+00)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), double 3.000000e+00)
%6 = tail call double @sqrt(i32 10)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), double %6)
%8 = tail call double @exp(i32 5)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), double %8)
%10 = tail call double @log10(i32 5134)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), double %10)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), double 0x400C82D512472003)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), double 0x3FE6F494C2BFFECD)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0), double 0x3FE64B6BDE719865)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0), double 0x3FF079664793B60B)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), double 0x3FEDAC670561BB50)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0), double 0x3FE4978FA3269EE0)
%18 = tail call double @atan(double 8.000000e-01)
%19 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.14, i64 0, i64 0), double 0x3FE5977A5103EA93)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), double 0x3FEC6B5D3C9C16EF)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), double 0x3FF566222FAE825A)
%22 = tail call double @tanh(double 8.000000e-01)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.17, i64 0, i64 0), double 0x3FE53FCA0A748A42)
ret i32 0
}