#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 CHAR_BIT;
int CHAR_MAX;
int CHAR_MIN;
double DBL_MAX;
double DBL_MIN;
double FLT_MAX;
double FLT_MIN;
int INT_MAX;
int INT_MIN;
double LDBL_MAX;
double LDBL_MIN;
double LONG_MAX;
double LONG_MIN;
int SCHAR_MAX;
int SCHAR_MIN;
int SHRT_MAX;
int SHRT_MIN;
int UCHAR_MAX;
int UINT_MAX;
double ULONG_MAX;
int USHRT_MAX;
double pow(int, int);
int /*<<< orphan*/ printf(char *, double);
int /*<<< orphan*/ putchar(char);
int main(void) {
  printf("Char min: %i\n", CHAR_MIN);
  printf("Char max: %i\n", CHAR_MAX);
  printf("Signed Char min: %d\n", SCHAR_MIN);
  printf("Signed Char max: %d\n", SCHAR_MAX);
  printf("Unsigned Char max: %d\n", UCHAR_MAX);
  printf("Int min: %d\n", INT_MIN);
  printf("Int max: %d\n", INT_MAX);
  printf("Unsigned Int max: %u\n", UINT_MAX);
  printf("Short Int min: %d\n", SHRT_MIN);
  printf("Short Int max: %d\n", SHRT_MAX);
  printf("Unsigned short Int max: %d\n", USHRT_MAX);
  printf("Long Int min: %ld\n", LONG_MIN);
  printf("Long Int max: %ld\n", LONG_MAX);
  printf("Unsigned Long Int max: %lu\n", ULONG_MAX);
  printf("Range of Float min: %E\n", FLT_MIN);
  printf("Range of Float max: %E\n", FLT_MAX);
  printf("Range of double min: %E\n", DBL_MIN);
  printf("Range of double max: %E\n", DBL_MAX);
  printf("Range of long double min: %LE\n", LDBL_MIN);
  printf("Range of long double max: %LE\n", LDBL_MAX);
  printf("Size of Float: %lu Bytes\n", ((unsigned long)sizeof(float)));
  printf("Size of Double: %lu Bytes\n", ((unsigned long)sizeof(double)));
  printf("Size of Long Double: %lu Bytes\n", (sizeof(long double)));
  putchar('\n');
  printf("The size of CHAR max by computation is: %d\n",
         ((int)pow(2, (sizeof(char) * CHAR_BIT) - 1)));
  printf("The size of Signed CHAR max by computation is: %d\n",
         ((signed)pow(2, (sizeof(signed char) * CHAR_BIT) - 1)));
  printf("The size of Unsigned CHAR max by computation is: %u\n",
         ((unsigned)pow(2, (sizeof(unsigned char) * CHAR_BIT)) - 1));
  printf("The size of INT max by computation is: %d\n",
         ((int)pow(2, (sizeof(int) * CHAR_BIT) - 1)));
  printf("The size of Unsigned INT max by computation is: %u\n",
         ((unsigned)pow(2, (sizeof(unsigned) * CHAR_BIT))));
  printf("The size of Short INT max by computation is: %d\n",
         ((short)pow(2, (sizeof(short) * CHAR_BIT) - 1)));
  printf("The size of Long INT max by computation is: %ld\n",
         ((long)pow(2, (sizeof(long) * CHAR_BIT) - 1)));
  printf("The size of Unsigned Long INT max by computation is: %lu\n",
         ((unsigned long)pow(2, (sizeof(unsigned long) * CHAR_BIT))));
  printf("The size of Float max by computation is: %E\n",
         pow(2, (sizeof(float) * sizeof(float) * CHAR_BIT)));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e92(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xeef(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e83(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xee6(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e1c(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xedd(%rip),%rdi
call   1040 <printf@plt>
mov    0x2dfd(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xedb(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e4e(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xed9(%rip),%rdi
call   1040 <printf@plt>
mov    0x2def(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xef5(%rip),%rdi
call   1040 <printf@plt>
mov    0x2df0(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xef1(%rip),%rdi
call   1040 <printf@plt>
mov    0x2dd1(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xeab(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d6a(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xeaa(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d4b(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xea6(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d9c(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xea2(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d6d(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea7(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d16(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea3(%rip),%rdi
call   1040 <printf@plt>
mov    0x2cc7(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe9f(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d48(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea4(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d01(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea5(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c9a(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea6(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c7b(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea8(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c74(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeaa(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c7d(%rip),%rax
movsd  (%rax),%xmm0
lea    0xeb2(%rip),%rdi
call   1040 <printf@plt>
lea    0xec5(%rip),%rdi
movsd  0xce6(%rip),%xmm0
call   1040 <printf@plt>
lea    0xecb(%rip),%rdi
movsd  0xcda(%rip),%xmm0
call   1040 <printf@plt>
lea    0xed2(%rip),%rdi
movsd  0xcce(%rip),%xmm0
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2c28(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    (%rax),%esi
add    $0xffffffff,%esi
mov    $0x2,%edi
mov    %edi,-0x14(%rbp)
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xeaf(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
add    $0xffffffff,%esi
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xeb6(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
add    $0xffffffff,%eax
cvtsi2sd %rax,%xmm0
lea    0xec2(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    %ecx,%eax
lea    -0x1(,%rax,4),%esi
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xecc(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
shl    $0x2,%esi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
mov    %eax,%eax
cvtsi2sd %rax,%xmm0
lea    0xece(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    %ecx,%eax
lea    -0x1(%rax,%rax,1),%esi
call   1050 <pow@plt>
cvttsd2si %xmm0,%eax
cwtl
cvtsi2sd %eax,%xmm0
lea    0xed9(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
mov    %ecx,%eax
lea    -0x1(,%rax,8),%esi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
cvtsi2sd %rax,%xmm0
lea    0xedd(%rip),%rdi
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
shl    $0x3,%esi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
cvttsd2si %xmm1,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
movsd  0xb78(%rip),%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
and    %rdx,%rcx
or     %rcx,%rax
movq   %rax,%xmm0
movaps 0xb65(%rip),%xmm1
punpckldq %xmm1,%xmm0
movapd 0xb69(%rip),%xmm1
subpd  %xmm1,%xmm0
movaps %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
lea    0xea4(%rip),%rdi
call   1040 <printf@plt>
mov    0x2a97(%rip),%rax
movslq (%rax),%rax
shl    $0x4,%rax
mov    %eax,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
lea    0xeb8(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
mov    0x2ea0(%rip),%rax
cvtsi2sdl (%rax),%xmm0
lea    0xefd(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e91(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xef1(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e27(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xee5(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e05(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xee0(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e53(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xedb(%rip),%rdi
call   1040 <printf@plt>
mov    0x2df1(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xef4(%rip),%rdi
call   1040 <printf@plt>
mov    0x2def(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xeed(%rip),%rdi
call   1040 <printf@plt>
mov    0x2dcd(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xea4(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d63(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xea0(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d41(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xe99(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d8f(%rip),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax),%xmm0
lea    0xe92(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d5d(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe97(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d06(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe93(%rip),%rdi
call   1040 <printf@plt>
mov    0x2cb7(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe8f(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d38(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe94(%rip),%rdi
call   1040 <printf@plt>
mov    0x2cf1(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe95(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c8a(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe96(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c6b(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe98(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c64(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe9a(%rip),%rdi
call   1040 <printf@plt>
mov    0x2c6d(%rip),%rax
movsd  (%rax),%xmm0
lea    0xea2(%rip),%rdi
call   1040 <printf@plt>
lea    0xeb5(%rip),%rdi
movsd  0xcd6(%rip),%xmm0
call   1040 <printf@plt>
lea    0xebb(%rip),%rdi
movsd  0xcca(%rip),%xmm0
call   1040 <printf@plt>
lea    0xec2(%rip),%rdi
movsd  0xcbe(%rip),%xmm0
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2c18(%rip),%rbx
mov    (%rbx),%esi
add    $0xffffffff,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xea6(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%esi
add    $0xffffffff,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xeaf(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
add    $0xffffffff,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
lea    0xeba(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%eax
lea    -0x1(,%rax,4),%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
lea    0xec8(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%esi
shl    $0x2,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
mov    %eax,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
lea    0xec9(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%eax
lea    (%rax,%rax,1),%esi
add    $0xffffffff,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttsd2si %xmm0,%eax
cwtl
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
lea    0xed3(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%eax
lea    -0x1(,%rax,8),%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
lea    0xed8(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%esi
shl    $0x3,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
cvttsd2si %xmm0,%rax
mov    %rax,%rcx
subsd  0xb7c(%rip),%xmm0
sar    $0x3f,%rcx
cvttsd2si %xmm0,%rdx
and    %rcx,%rdx
or     %rax,%rdx
movq   %rdx,%xmm1
punpckldq 0xb68(%rip),%xmm1
subpd  0xb70(%rip),%xmm1
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
addsd  %xmm1,%xmm0
lea    0xeae(%rip),%rdi
call   1040 <printf@plt>
mov    (%rbx),%esi
shl    $0x4,%esi
mov    $0x2,%edi
call   1050 <pow@plt>
lea    0xecd(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"Char min: %i\0A\00"
@CHAR_MIN = global i32 0
@.str.1 = [14 x i8] c"Char max: %i\0A\00"
@CHAR_MAX = global i32 0
@.str.2 = [21 x i8] c"Signed Char min: %d\0A\00"
@SCHAR_MIN = global i32 0
@.str.3 = [21 x i8] c"Signed Char max: %d\0A\00"
@SCHAR_MAX = global i32 0
@.str.4 = [23 x i8] c"Unsigned Char max: %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.5 = [13 x i8] c"Int min: %d\0A\00"
@INT_MIN = global i32 0
@.str.6 = [13 x i8] c"Int max: %d\0A\00"
@INT_MAX = global i32 0
@.str.7 = [22 x i8] c"Unsigned Int max: %u\0A\00"
@UINT_MAX = global i32 0
@.str.8 = [19 x i8] c"Short Int min: %d\0A\00"
@SHRT_MIN = global i32 0
@.str.9 = [19 x i8] c"Short Int max: %d\0A\00"
@SHRT_MAX = global i32 0
@.str.10 = [28 x i8] c"Unsigned short Int max: %d\0A\00"
@USHRT_MAX = global i32 0
@.str.11 = [19 x i8] c"Long Int min: %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@.str.12 = [19 x i8] c"Long Int max: %ld\0A\00"
@LONG_MAX = global double 0.000000e+00
@.str.13 = [28 x i8] c"Unsigned Long Int max: %lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.14 = [24 x i8] c"Range of Float min: %E\0A\00"
@FLT_MIN = global double 0.000000e+00
@.str.15 = [24 x i8] c"Range of Float max: %E\0A\00"
@FLT_MAX = global double 0.000000e+00
@.str.16 = [25 x i8] c"Range of double min: %E\0A\00"
@DBL_MIN = global double 0.000000e+00
@.str.17 = [25 x i8] c"Range of double max: %E\0A\00"
@DBL_MAX = global double 0.000000e+00
@.str.18 = [31 x i8] c"Range of long double min: %LE\0A\00"
@LDBL_MIN = global double 0.000000e+00
@.str.19 = [31 x i8] c"Range of long double max: %LE\0A\00"
@LDBL_MAX = global double 0.000000e+00
@.str.20 = [26 x i8] c"Size of Float: %lu Bytes\0A\00"
@.str.21 = [27 x i8] c"Size of Double: %lu Bytes\0A\00"
@.str.22 = [32 x i8] c"Size of Long Double: %lu Bytes\0A\00"
@.str.23 = [44 x i8] c"The size of CHAR max by computation is: %d\0A\00"
@CHAR_BIT = global i32 0
@.str.24 = [51 x i8] c"The size of Signed CHAR max by computation is: %d\0A\00"
@.str.25 = [53 x i8] c"The size of Unsigned CHAR max by computation is: %u\0A\00"
@.str.26 = [43 x i8] c"The size of INT max by computation is: %d\0A\00"
@.str.27 = [52 x i8] c"The size of Unsigned INT max by computation is: %u\0A\00"
@.str.28 = [49 x i8] c"The size of Short INT max by computation is: %d\0A\00"
@.str.29 = [49 x i8] c"The size of Long INT max by computation is: %ld\0A\00"
@.str.30 = [58 x i8] c"The size of Unsigned Long INT max by computation is: %lu\0A\00"
@.str.31 = [45 x i8] c"The size of Float max by computation is: %E\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @CHAR_MIN
%3 = sitofp i32 %2 to double
%4 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), double %3)
%5 = load i32, i32* @CHAR_MAX
%6 = sitofp i32 %5 to double
%7 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), double %6)
%8 = load i32, i32* @SCHAR_MIN
%9 = sitofp i32 %8 to double
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), double %9)
%11 = load i32, i32* @SCHAR_MAX
%12 = sitofp i32 %11 to double
%13 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), double %12)
%14 = load i32, i32* @UCHAR_MAX
%15 = sitofp i32 %14 to double
%16 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), double %15)
%17 = load i32, i32* @INT_MIN
%18 = sitofp i32 %17 to double
%19 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), double %18)
%20 = load i32, i32* @INT_MAX
%21 = sitofp i32 %20 to double
%22 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), double %21)
%23 = load i32, i32* @UINT_MAX
%24 = sitofp i32 %23 to double
%25 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), double %24)
%26 = load i32, i32* @SHRT_MIN
%27 = sitofp i32 %26 to double
%28 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), double %27)
%29 = load i32, i32* @SHRT_MAX
%30 = sitofp i32 %29 to double
%31 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), double %30)
%32 = load i32, i32* @USHRT_MAX
%33 = sitofp i32 %32 to double
%34 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0), double %33)
%35 = load double, double* @LONG_MIN
%36 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), double %35)
%37 = load double, double* @LONG_MAX
%38 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), double %37)
%39 = load double, double* @ULONG_MAX
%40 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0), double %39)
%41 = load double, double* @FLT_MIN
%42 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), double %41)
%43 = load double, double* @FLT_MAX
%44 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0), double %43)
%45 = load double, double* @DBL_MIN
%46 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), double %45)
%47 = load double, double* @DBL_MAX
%48 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0), double %47)
%49 = load double, double* @LDBL_MIN
%50 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0), double %49)
%51 = load double, double* @LDBL_MAX
%52 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.19, i64 0, i64 0), double %51)
%53 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.20, i64 0, i64 0), double 4.000000e+00)
%54 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), double 8.000000e+00)
%55 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, i64 0, i64 0), double 1.600000e+01)
%56 = call i32 @putchar(i8 signext 10)
%57 = load i32, i32* @CHAR_BIT
%58 = sext i32 %57 to i64
%59 = mul i64 1, %58
%60 = sub i64 %59, 1
%61 = trunc i64 %60 to i32
%62 = call double @pow(i32 2, i32 %61)
%63 = fptosi double %62 to i32
%64 = sitofp i32 %63 to double
%65 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.23, i64 0, i64 0), double %64)
%66 = load i32, i32* @CHAR_BIT
%67 = sext i32 %66 to i64
%68 = mul i64 1, %67
%69 = sub i64 %68, 1
%70 = trunc i64 %69 to i32
%71 = call double @pow(i32 2, i32 %70)
%72 = fptosi double %71 to i32
%73 = sitofp i32 %72 to double
%74 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.24, i64 0, i64 0), double %73)
%75 = load i32, i32* @CHAR_BIT
%76 = sext i32 %75 to i64
%77 = mul i64 1, %76
%78 = trunc i64 %77 to i32
%79 = call double @pow(i32 2, i32 %78)
%80 = fptoui double %79 to i32
%81 = sub i32 %80, 1
%82 = uitofp i32 %81 to double
%83 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.25, i64 0, i64 0), double %82)
%84 = load i32, i32* @CHAR_BIT
%85 = sext i32 %84 to i64
%86 = mul i64 4, %85
%87 = sub i64 %86, 1
%88 = trunc i64 %87 to i32
%89 = call double @pow(i32 2, i32 %88)
%90 = fptosi double %89 to i32
%91 = sitofp i32 %90 to double
%92 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.26, i64 0, i64 0), double %91)
%93 = load i32, i32* @CHAR_BIT
%94 = sext i32 %93 to i64
%95 = mul i64 4, %94
%96 = trunc i64 %95 to i32
%97 = call double @pow(i32 2, i32 %96)
%98 = fptoui double %97 to i32
%99 = uitofp i32 %98 to double
%100 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.27, i64 0, i64 0), double %99)
%101 = load i32, i32* @CHAR_BIT
%102 = sext i32 %101 to i64
%103 = mul i64 2, %102
%104 = sub i64 %103, 1
%105 = trunc i64 %104 to i32
%106 = call double @pow(i32 2, i32 %105)
%107 = fptosi double %106 to i16
%108 = sitofp i16 %107 to double
%109 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.28, i64 0, i64 0), double %108)
%110 = load i32, i32* @CHAR_BIT
%111 = sext i32 %110 to i64
%112 = mul i64 8, %111
%113 = sub i64 %112, 1
%114 = trunc i64 %113 to i32
%115 = call double @pow(i32 2, i32 %114)
%116 = fptosi double %115 to i64
%117 = sitofp i64 %116 to double
%118 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.29, i64 0, i64 0), double %117)
%119 = load i32, i32* @CHAR_BIT
%120 = sext i32 %119 to i64
%121 = mul i64 8, %120
%122 = trunc i64 %121 to i32
%123 = call double @pow(i32 2, i32 %122)
%124 = fptoui double %123 to i64
%125 = uitofp i64 %124 to double
%126 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0), double %125)
%127 = load i32, i32* @CHAR_BIT
%128 = sext i32 %127 to i64
%129 = mul i64 16, %128
%130 = trunc i64 %129 to i32
%131 = call double @pow(i32 2, i32 %130)
%132 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.31, i64 0, i64 0), double %131)
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"Char min: %i\0A\00"
@CHAR_MIN = global i32 0
@.str.1 = [14 x i8] c"Char max: %i\0A\00"
@CHAR_MAX = global i32 0
@.str.2 = [21 x i8] c"Signed Char min: %d\0A\00"
@SCHAR_MIN = global i32 0
@.str.3 = [21 x i8] c"Signed Char max: %d\0A\00"
@SCHAR_MAX = global i32 0
@.str.4 = [23 x i8] c"Unsigned Char max: %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.5 = [13 x i8] c"Int min: %d\0A\00"
@INT_MIN = global i32 0
@.str.6 = [13 x i8] c"Int max: %d\0A\00"
@INT_MAX = global i32 0
@.str.7 = [22 x i8] c"Unsigned Int max: %u\0A\00"
@UINT_MAX = global i32 0
@.str.8 = [19 x i8] c"Short Int min: %d\0A\00"
@SHRT_MIN = global i32 0
@.str.9 = [19 x i8] c"Short Int max: %d\0A\00"
@SHRT_MAX = global i32 0
@.str.10 = [28 x i8] c"Unsigned short Int max: %d\0A\00"
@USHRT_MAX = global i32 0
@.str.11 = [19 x i8] c"Long Int min: %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@.str.12 = [19 x i8] c"Long Int max: %ld\0A\00"
@LONG_MAX = global double 0.000000e+00
@.str.13 = [28 x i8] c"Unsigned Long Int max: %lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.14 = [24 x i8] c"Range of Float min: %E\0A\00"
@FLT_MIN = global double 0.000000e+00
@.str.15 = [24 x i8] c"Range of Float max: %E\0A\00"
@FLT_MAX = global double 0.000000e+00
@.str.16 = [25 x i8] c"Range of double min: %E\0A\00"
@DBL_MIN = global double 0.000000e+00
@.str.17 = [25 x i8] c"Range of double max: %E\0A\00"
@DBL_MAX = global double 0.000000e+00
@.str.18 = [31 x i8] c"Range of long double min: %LE\0A\00"
@LDBL_MIN = global double 0.000000e+00
@.str.19 = [31 x i8] c"Range of long double max: %LE\0A\00"
@LDBL_MAX = global double 0.000000e+00
@.str.20 = [26 x i8] c"Size of Float: %lu Bytes\0A\00"
@.str.21 = [27 x i8] c"Size of Double: %lu Bytes\0A\00"
@.str.22 = [32 x i8] c"Size of Long Double: %lu Bytes\0A\00"
@.str.23 = [44 x i8] c"The size of CHAR max by computation is: %d\0A\00"
@CHAR_BIT = global i32 0
@.str.24 = [51 x i8] c"The size of Signed CHAR max by computation is: %d\0A\00"
@.str.25 = [53 x i8] c"The size of Unsigned CHAR max by computation is: %u\0A\00"
@.str.26 = [43 x i8] c"The size of INT max by computation is: %d\0A\00"
@.str.27 = [52 x i8] c"The size of Unsigned INT max by computation is: %u\0A\00"
@.str.28 = [49 x i8] c"The size of Short INT max by computation is: %d\0A\00"
@.str.29 = [49 x i8] c"The size of Long INT max by computation is: %ld\0A\00"
@.str.30 = [58 x i8] c"The size of Unsigned Long INT max by computation is: %lu\0A\00"
@.str.31 = [45 x i8] c"The size of Float max by computation is: %E\0A\00"
define i32 @main() {
%1 = load i32, i32* @CHAR_MIN
%2 = sitofp i32 %1 to double
%3 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), double %2)
%4 = load i32, i32* @CHAR_MAX
%5 = sitofp i32 %4 to double
%6 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), double %5)
%7 = load i32, i32* @SCHAR_MIN
%8 = sitofp i32 %7 to double
%9 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), double %8)
%10 = load i32, i32* @SCHAR_MAX
%11 = sitofp i32 %10 to double
%12 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), double %11)
%13 = load i32, i32* @UCHAR_MAX
%14 = sitofp i32 %13 to double
%15 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), double %14)
%16 = load i32, i32* @INT_MIN
%17 = sitofp i32 %16 to double
%18 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), double %17)
%19 = load i32, i32* @INT_MAX
%20 = sitofp i32 %19 to double
%21 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), double %20)
%22 = load i32, i32* @UINT_MAX
%23 = sitofp i32 %22 to double
%24 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), double %23)
%25 = load i32, i32* @SHRT_MIN
%26 = sitofp i32 %25 to double
%27 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), double %26)
%28 = load i32, i32* @SHRT_MAX
%29 = sitofp i32 %28 to double
%30 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), double %29)
%31 = load i32, i32* @USHRT_MAX
%32 = sitofp i32 %31 to double
%33 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0), double %32)
%34 = load double, double* @LONG_MIN
%35 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), double %34)
%36 = load double, double* @LONG_MAX
%37 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), double %36)
%38 = load double, double* @ULONG_MAX
%39 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0), double %38)
%40 = load double, double* @FLT_MIN
%41 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), double %40)
%42 = load double, double* @FLT_MAX
%43 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0), double %42)
%44 = load double, double* @DBL_MIN
%45 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0), double %44)
%46 = load double, double* @DBL_MAX
%47 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0), double %46)
%48 = load double, double* @LDBL_MIN
%49 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0), double %48)
%50 = load double, double* @LDBL_MAX
%51 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.19, i64 0, i64 0), double %50)
%52 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.20, i64 0, i64 0), double 4.000000e+00)
%53 = tail call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), double 8.000000e+00)
%54 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, i64 0, i64 0), double 1.600000e+01)
%55 = tail call i32 @putchar(i8 signext 10)
%56 = load i32, i32* @CHAR_BIT
%57 = add i32 %56, -1
%58 = tail call double @pow(i32 2, i32 %57)
%59 = fptosi double %58 to i32
%60 = sitofp i32 %59 to double
%61 = tail call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.23, i64 0, i64 0), double %60)
%62 = load i32, i32* @CHAR_BIT
%63 = add i32 %62, -1
%64 = tail call double @pow(i32 2, i32 %63)
%65 = fptosi double %64 to i32
%66 = sitofp i32 %65 to double
%67 = tail call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.24, i64 0, i64 0), double %66)
%68 = load i32, i32* @CHAR_BIT
%69 = tail call double @pow(i32 2, i32 %68)
%70 = fptoui double %69 to i32
%71 = add i32 %70, -1
%72 = uitofp i32 %71 to double
%73 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.25, i64 0, i64 0), double %72)
%74 = load i32, i32* @CHAR_BIT
%75 = shl i32 %74, 2
%76 = add i32 %75, -1
%77 = tail call double @pow(i32 2, i32 %76)
%78 = fptosi double %77 to i32
%79 = sitofp i32 %78 to double
%80 = tail call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.26, i64 0, i64 0), double %79)
%81 = load i32, i32* @CHAR_BIT
%82 = shl i32 %81, 2
%83 = tail call double @pow(i32 2, i32 %82)
%84 = fptoui double %83 to i32
%85 = uitofp i32 %84 to double
%86 = tail call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.27, i64 0, i64 0), double %85)
%87 = load i32, i32* @CHAR_BIT
%88 = shl i32 %87, 1
%89 = add i32 %88, -1
%90 = tail call double @pow(i32 2, i32 %89)
%91 = fptosi double %90 to i16
%92 = sitofp i16 %91 to double
%93 = tail call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.28, i64 0, i64 0), double %92)
%94 = load i32, i32* @CHAR_BIT
%95 = shl i32 %94, 3
%96 = add i32 %95, -1
%97 = tail call double @pow(i32 2, i32 %96)
%98 = fptosi double %97 to i64
%99 = sitofp i64 %98 to double
%100 = tail call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.29, i64 0, i64 0), double %99)
%101 = load i32, i32* @CHAR_BIT
%102 = shl i32 %101, 3
%103 = tail call double @pow(i32 2, i32 %102)
%104 = fptoui double %103 to i64
%105 = uitofp i64 %104 to double
%106 = tail call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.30, i64 0, i64 0), double %105)
%107 = load i32, i32* @CHAR_BIT
%108 = shl i32 %107, 4
%109 = tail call double @pow(i32 2, i32 %108)
%110 = tail call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.31, i64 0, i64 0), double %109)
ret i32 0
}