#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 abs(double);
double cbrt(double);
double exp2(double);
double fdim(double, double);
int /*<<< orphan*/ floor(double);
double fma(double, double, double);
double fmax(double, double);
double fmin(double, double);
double hypot(double, double);
double log10(double);
double modf(double, double *);
double pow(double, double);
int /*<<< orphan*/ printf(char *, double, ...);
double sqrt(double);
int main(int argc, char *argv[]) {
  printf("Pow: %f\n", pow(2.0, 4.0));
  printf("Sqrt: %f\n", sqrt(4.0));
  printf("Cbrt: %f\n", cbrt(9.0));
  printf("Hipotenusa = %f, cateto 1: 3.5, cateto 2: 4.5\n\n", hypot(3.5, 4.5));
  printf("exp2 de 8.0 es = %f\n\n", exp2(8.0));
  double area_circulo = 3.14159265358979323846 * pow(7.0, 2.0);
  printf("Area del circulo: %f\n\n", area_circulo);
  printf("FMA de (10.0 * 20.0) + 30.0 = %f\n\n", fma(10.0, 20.0, 30.0));
  printf("abs de -14.5 = %f\n\n", abs(-14.5));
  printf("fdim (2.0, 1.0) = %f\n", fdim(2.0, 1.0));
  printf("fdim (1.0, 2.0) = %f\n", fdim(1.0, 2.0));
  printf("fdim (-2.0, -1.0) = %f\n", fdim(-2.0, -1.0));
  printf("fdim (-1.0, -2.0) = %f\n\n", fdim(-1.0, -2.0));
  printf("fmax (100.0, 1.0) = %f\n", fmax(100.0, 1.0));
  printf("fmax (-100.0, 1.0) = %f\n", fmax(-100.0, 1.0));
  printf("fmax (-100.0, -1.0) = %f\n\n", fmax(-100.0, -1.0));
  printf("fmin (100.0, 1.0) = %f\n", fmin(-100.0, 1.0));
  printf("fmin (-100.0, 1.0) = %f\n", fmin(-100.0, 1.0));
  printf("fmin (-100.0, -1.0) = %f\n\n", fmin(-100.0, -1.0));
  double param, fractpart, intpart;
  param = 6.12813765;
  fractpart = modf(param, &intpart);
  printf("%f = %f + %f \n\n", param, intpart, fractpart);
  printf("floor of 2.3 is %.1lf\n", floor(2.3));
  printf("floor of 3.8 is %.1lf\n", floor(3.8));
  printf("floor of -2.3 is %.1lf\n", floor(-2.3));
  printf("floor of -3.8 is %.1lf\n\n", floor(-3.8));
  double param_l, result_l;
  param_l = 100000.0;
  result_l = log10(param_l);
  printf("log10(%f) = %f\n\n", param_l, result_l);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  0xe8a(%rip),%xmm0
movsd  0xeca(%rip),%xmm1
call   10a0 <pow@plt>
lea    0xec6(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xeaf(%rip),%xmm0
call   10c0 <sqrt@plt>
lea    0xeb4(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe8c(%rip),%xmm0
call   1090 <cbrt@plt>
lea    0xea3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe61(%rip),%xmm0
movsd  0xe61(%rip),%xmm1
call   1070 <hypot@plt>
lea    0xe8a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe36(%rip),%xmm0
call   1050 <exp2@plt>
lea    0xe9f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe13(%rip),%xmm0
movsd  0xdeb(%rip),%xmm1
call   10a0 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdf3(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
lea    0xe79(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xdc7(%rip),%xmm0
lea    0xe7a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xda9(%rip),%xmm0
call   1030 <abs@plt>
lea    0xe82(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd86(%rip),%xmm0
movsd  0xd66(%rip),%xmm1
call   1080 <fdim@plt>
lea    0xe73(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd4b(%rip),%xmm0
movsd  0xd5b(%rip),%xmm1
call   1080 <fdim@plt>
lea    0xe66(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd38(%rip),%xmm0
movsd  0xd18(%rip),%xmm1
call   1080 <fdim@plt>
lea    0xe59(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcfd(%rip),%xmm0
movsd  0xd0d(%rip),%xmm1
call   1080 <fdim@plt>
lea    0xe4e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcea(%rip),%xmm0
lea    0xe51(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xccc(%rip),%xmm0
lea    0xe53(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcae(%rip),%xmm0
lea    0xe56(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc90(%rip),%xmm0
lea    0xe5b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc7a(%rip),%xmm0
lea    0xe5d(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc64(%rip),%xmm0
lea    0xe60(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xc46(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
lea    -0x30(%rbp),%rdi
call   1060 <modf@plt>
movsd  %xmm0,-0x28(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
lea    0xe3e(%rip),%rdi
mov    $0x3,%al
call   1040 <printf@plt>
movsd  0xc01(%rip),%xmm0
call   10d0 <floor@plt>
cvtsi2sd %eax,%xmm0
lea    0xe2f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xbda(%rip),%xmm0
call   10d0 <floor@plt>
cvtsi2sd %eax,%xmm0
lea    0xe27(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xbb3(%rip),%xmm0
call   10d0 <floor@plt>
cvtsi2sd %eax,%xmm0
lea    0xe1f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xb8c(%rip),%xmm0
call   10d0 <floor@plt>
cvtsi2sd %eax,%xmm0
lea    0xe18(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xb65(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   10b0 <log10@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
lea    0xdfd(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf30(%rip),%rdi
movsd  0xe80(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf23(%rip),%rdi
movsd  0xe72(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe6b(%rip),%xmm0
call   1080 <cbrt@plt>
lea    0xf0a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe58(%rip),%xmm0
movsd  0xe58(%rip),%xmm1
call   1060 <hypot@plt>
lea    0xef1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf13(%rip),%rdi
movsd  0xe3e(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf13(%rip),%rdi
movsd  0xe30(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf14(%rip),%rdi
movsd  0xe22(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe1b(%rip),%xmm0
call   1030 <abs@plt>
lea    0xf14(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xe08(%rip),%xmm1
movsd  0xdc0(%rip),%xmm0
call   1070 <fdim@plt>
lea    0xf05(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xde5(%rip),%xmm0
movsd  0xd9d(%rip),%xmm1
call   1070 <fdim@plt>
lea    0xef8(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xdca(%rip),%xmm0
movsd  0xdca(%rip),%xmm1
call   1070 <fdim@plt>
lea    0xeeb(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xdaf(%rip),%xmm0
movsd  0xd9f(%rip),%xmm1
call   1070 <fdim@plt>
lea    0xee0(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeeb(%rip),%rdi
movsd  0xd8d(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeed(%rip),%rdi
movsd  0xd5f(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
movsd  0xd59(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
movsd  0xd53(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xef7(%rip),%rdi
movsd  0xd3d(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xefa(%rip),%rdi
movsd  0xd27(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd20(%rip),%xmm0
mov    %rsp,%rdi
call   1050 <modf@plt>
movaps %xmm0,%xmm2
movsd  (%rsp),%xmm1
lea    0xee7(%rip),%rdi
movsd  0xd01(%rip),%xmm0
mov    $0x3,%al
call   1040 <printf@plt>
movsd  0xcfa(%rip),%xmm0
call   1090 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xecd(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xce0(%rip),%xmm0
call   1090 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xec2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcc6(%rip),%xmm0
call   1090 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xeb7(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xcac(%rip),%xmm0
call   1090 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xead(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeb8(%rip),%rdi
movsd  0xc8b(%rip),%xmm0
movsd  0xc8b(%rip),%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [9 x i8] c"Pow: %f\0A\00"
@.str.1 = [10 x i8] c"Sqrt: %f\0A\00"
@.str.2 = [10 x i8] c"Cbrt: %f\0A\00"
@.str.3 = [48 x i8] c"Hipotenusa = %f, cateto 1: 3.5, cateto 2: 4.5\0A\0A\00"
@.str.4 = [22 x i8] c"exp2 de 8.0 es = %f\0A\0A\00"
@.str.5 = [23 x i8] c"Area del circulo: %f\0A\0A\00"
@.str.6 = [35 x i8] c"FMA de (10.0 * 20.0) + 30.0 = %f\0A\0A\00"
@.str.7 = [20 x i8] c"abs de -14.5 = %f\0A\0A\00"
@.str.8 = [22 x i8] c"fdim (2.0, 1.0) = %f\0A\00"
@.str.9 = [22 x i8] c"fdim (1.0, 2.0) = %f\0A\00"
@.str.10 = [24 x i8] c"fdim (-2.0, -1.0) = %f\0A\00"
@.str.11 = [25 x i8] c"fdim (-1.0, -2.0) = %f\0A\0A\00"
@.str.12 = [24 x i8] c"fmax (100.0, 1.0) = %f\0A\00"
@.str.13 = [25 x i8] c"fmax (-100.0, 1.0) = %f\0A\00"
@.str.14 = [27 x i8] c"fmax (-100.0, -1.0) = %f\0A\0A\00"
@.str.15 = [24 x i8] c"fmin (100.0, 1.0) = %f\0A\00"
@.str.16 = [25 x i8] c"fmin (-100.0, 1.0) = %f\0A\00"
@.str.17 = [27 x i8] c"fmin (-100.0, -1.0) = %f\0A\0A\00"
@.str.18 = [16 x i8] c"%f = %f + %f \0A\0A\00"
@.str.19 = [23 x i8] c"floor of 2.3 is %.1lf\0A\00"
@.str.20 = [23 x i8] c"floor of 3.8 is %.1lf\0A\00"
@.str.21 = [24 x i8] c"floor of -2.3 is %.1lf\0A\00"
@.str.22 = [25 x i8] c"floor of -3.8 is %.1lf\0A\0A\00"
@.str.23 = [17 x i8] c"log10(%f) = %f\0A\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call double @pow(double 2.000000e+00, double 4.000000e+00)
%13 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), double %12)
%14 = call double @sqrt(double 4.000000e+00)
%15 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double %14)
%16 = call double @cbrt(double 9.000000e+00)
%17 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), double %16)
%18 = call double @hypot(double 3.500000e+00, double 4.500000e+00)
%19 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), double %18)
%20 = call double @exp2(double 8.000000e+00)
%21 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), double %20)
%22 = call double @pow(double 7.000000e+00, double 2.000000e+00)
%23 = fmul double 0x400921FB54442D18, %22
store double %23, double* %6
%24 = load double, double* %6
%25 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %24)
%26 = call double @llvm.fma.f64(double 1.000000e+01, double 2.000000e+01, double 3.000000e+01)
%27 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), double %26)
%28 = call double @abs(double -1.450000e+01)
%29 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), double %28)
%30 = call double @fdim(double 2.000000e+00, double 1.000000e+00)
%31 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %30)
%32 = call double @fdim(double 1.000000e+00, double 2.000000e+00)
%33 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0), double %32)
%34 = call double @fdim(double -2.000000e+00, double -1.000000e+00)
%35 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), double %34)
%36 = call double @fdim(double -1.000000e+00, double -2.000000e+00)
%37 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), double %36)
%38 = call double @llvm.maxnum.f64(double 1.000000e+02, double 1.000000e+00)
%39 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0), double %38)
%40 = call double @llvm.maxnum.f64(double -1.000000e+02, double 1.000000e+00)
%41 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0), double %40)
%42 = call double @llvm.maxnum.f64(double -1.000000e+02, double -1.000000e+00)
%43 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), double %42)
%44 = call double @llvm.minnum.f64(double -1.000000e+02, double 1.000000e+00)
%45 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0), double %44)
%46 = call double @llvm.minnum.f64(double -1.000000e+02, double 1.000000e+00)
%47 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), double %46)
%48 = call double @llvm.minnum.f64(double -1.000000e+02, double -1.000000e+00)
%49 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0), double %48)
store double 0x4018833684208B91, double* %7
%50 = load double, double* %7
%51 = call double @modf(double %50, double* %9)
store double %51, double* %8
%52 = load double, double* %7
%53 = load double, double* %9
%54 = load double, double* %8
%55 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), double %52, double %53, double %54)
%56 = call i32 @floor(double 2.300000e+00)
%57 = sitofp i32 %56 to double
%58 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), double %57)
%59 = call i32 @floor(double 3.800000e+00)
%60 = sitofp i32 %59 to double
%61 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), double %60)
%62 = call i32 @floor(double -2.300000e+00)
%63 = sitofp i32 %62 to double
%64 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), double %63)
%65 = call i32 @floor(double -3.800000e+00)
%66 = sitofp i32 %65 to double
%67 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), double %66)
store double 1.000000e+05, double* %10
%68 = load double, double* %10
%69 = call double @log10(double %68)
store double %69, double* %11
%70 = load double, double* %10
%71 = load double, double* %11
%72 = call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.23, i64 0, i64 0), double %70, double %71)
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"Pow: %f\0A\00"
@.str.1 = [10 x i8] c"Sqrt: %f\0A\00"
@.str.2 = [10 x i8] c"Cbrt: %f\0A\00"
@.str.3 = [48 x i8] c"Hipotenusa = %f, cateto 1: 3.5, cateto 2: 4.5\0A\0A\00"
@.str.4 = [22 x i8] c"exp2 de 8.0 es = %f\0A\0A\00"
@.str.5 = [23 x i8] c"Area del circulo: %f\0A\0A\00"
@.str.6 = [35 x i8] c"FMA de (10.0 * 20.0) + 30.0 = %f\0A\0A\00"
@.str.7 = [20 x i8] c"abs de -14.5 = %f\0A\0A\00"
@.str.8 = [22 x i8] c"fdim (2.0, 1.0) = %f\0A\00"
@.str.9 = [22 x i8] c"fdim (1.0, 2.0) = %f\0A\00"
@.str.10 = [24 x i8] c"fdim (-2.0, -1.0) = %f\0A\00"
@.str.11 = [25 x i8] c"fdim (-1.0, -2.0) = %f\0A\0A\00"
@.str.12 = [24 x i8] c"fmax (100.0, 1.0) = %f\0A\00"
@.str.13 = [25 x i8] c"fmax (-100.0, 1.0) = %f\0A\00"
@.str.14 = [27 x i8] c"fmax (-100.0, -1.0) = %f\0A\0A\00"
@.str.15 = [24 x i8] c"fmin (100.0, 1.0) = %f\0A\00"
@.str.16 = [25 x i8] c"fmin (-100.0, 1.0) = %f\0A\00"
@.str.17 = [27 x i8] c"fmin (-100.0, -1.0) = %f\0A\0A\00"
@.str.18 = [16 x i8] c"%f = %f + %f \0A\0A\00"
@.str.19 = [23 x i8] c"floor of 2.3 is %.1lf\0A\00"
@.str.20 = [23 x i8] c"floor of 3.8 is %.1lf\0A\00"
@.str.21 = [24 x i8] c"floor of -2.3 is %.1lf\0A\00"
@.str.22 = [25 x i8] c"floor of -3.8 is %.1lf\0A\0A\00"
@.str.23 = [17 x i8] c"log10(%f) = %f\0A\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca double
%4 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), double 1.600000e+01)
%5 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), double 2.000000e+00)
%6 = tail call double @cbrt(double 9.000000e+00)
%7 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), double %6)
%8 = tail call double @hypot(double 3.500000e+00, double 4.500000e+00)
%9 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), double %8)
%10 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), double 2.560000e+02)
%11 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double 0x40633E046C843286)
%12 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.6, i64 0, i64 0), double 2.300000e+02)
%13 = tail call double @abs(double -1.450000e+01)
%14 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), double %13)
%15 = tail call double @fdim(double 2.000000e+00, double 1.000000e+00)
%16 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0), double %15)
%17 = tail call double @fdim(double 1.000000e+00, double 2.000000e+00)
%18 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0), double %17)
%19 = tail call double @fdim(double -2.000000e+00, double -1.000000e+00)
%20 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), double %19)
%21 = tail call double @fdim(double -1.000000e+00, double -2.000000e+00)
%22 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), double %21)
%23 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0), double 1.000000e+02)
%24 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0), double 1.000000e+00)
%25 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.14, i64 0, i64 0), double -1.000000e+00)
%26 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0), double -1.000000e+02)
%27 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), double -1.000000e+02)
%28 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0), double -1.000000e+02)
%29 = bitcast double* %3 to i8*
%30 = call double @modf(double 0x4018833684208B91, double* %3)
%31 = load double, double* %3
%32 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), double 0x4018833684208B91, double %31, double %30)
%33 = tail call i32 @floor(double 2.300000e+00)
%34 = sitofp i32 %33 to double
%35 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), double %34)
%36 = tail call i32 @floor(double 3.800000e+00)
%37 = sitofp i32 %36 to double
%38 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), double %37)
%39 = tail call i32 @floor(double -2.300000e+00)
%40 = sitofp i32 %39 to double
%41 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.21, i64 0, i64 0), double %40)
%42 = tail call i32 @floor(double -3.800000e+00)
%43 = sitofp i32 %42 to double
%44 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), double %43)
%45 = tail call i32 (i8*, double, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.23, i64 0, i64 0), double 1.000000e+05, double 5.000000e+00)
ret i32 0
}