#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 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;
int /*<<< orphan*/ printf(char *, ...);
int main() {
  printf("Char bits: %d\n", CHAR_BIT);
  printf("Char: (%d) - %d\n", CHAR_MIN, CHAR_MAX);
  printf("Unsigned Char: %d - %d\n", 0, UCHAR_MAX);
  printf("Signed Char: (%d) - %d\n", SCHAR_MIN, SCHAR_MAX);
  printf("Int: (%d) - %d\n", INT_MIN, INT_MAX);
  printf("Unsigned Int: %d - %u\n", 0, UINT_MAX);
  printf("Long: (%ld) - %ld\n", LONG_MIN, LONG_MAX);
  printf("Unsigned Long: %d - %lu\n", 0, ULONG_MAX);
  printf("Short: (%d) - %d\n", SHRT_MIN, SHRT_MAX);
  printf("Unsigned Short: %d - %d\n", 0, USHRT_MAX);
  printf("\n\n");
  printf("Float: %f - %f\n", FLT_MIN, FLT_MAX);
  printf("Double: %f - %f\n", DBL_MIN, DBL_MAX);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    0x2e5a(%rip),%rax
mov    (%rax),%esi
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%esi
mov    0x2e9a(%rip),%rax
mov    (%rax),%edx
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e93(%rip),%rax
mov    (%rax),%edx
lea    0xea9(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e1a(%rip),%rax
mov    (%rax),%esi
mov    0x2e09(%rip),%rax
mov    (%rax),%edx
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e12(%rip),%rax
mov    (%rax),%esi
mov    0x2e21(%rip),%rax
mov    (%rax),%edx
lea    0xe97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e02(%rip),%rax
mov    (%rax),%edx
lea    0xe90(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2de1(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2d9e(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe81(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x2d55(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe7b(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x2d62(%rip),%rax
mov    (%rax),%esi
mov    0x2d51(%rip),%rax
mov    (%rax),%edx
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d9a(%rip),%rax
mov    (%rax),%edx
lea    0xe6d(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2d7b(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2d40(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe55(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
mov    0x2ce7(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2cd4(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe41(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2e58(%rip),%rax
mov    (%rax),%esi
lea    0xecf(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%esi
mov    0x2e98(%rip),%rax
mov    (%rax),%edx
lea    0xedd(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e91(%rip),%rax
mov    (%rax),%edx
lea    0xea7(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%esi
mov    0x2e07(%rip),%rax
mov    (%rax),%edx
lea    0xe9d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e10(%rip),%rax
mov    (%rax),%esi
mov    0x2e1f(%rip),%rax
mov    (%rax),%edx
lea    0xe95(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e00(%rip),%rax
mov    (%rax),%edx
lea    0xe8e(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2ddf(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2d9c(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe7f(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    0x2d53(%rip),%rax
movsd  (%rax),%xmm0
lea    0xe79(%rip),%rdi
xor    %esi,%esi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x2d60(%rip),%rax
mov    (%rax),%esi
mov    0x2d4f(%rip),%rax
mov    (%rax),%edx
lea    0xe70(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2d98(%rip),%rax
mov    (%rax),%edx
lea    0xe6b(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf4(%rip),%rdi
call   1030 <puts@plt>
mov    0x2d7b(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2d40(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe52(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    0x2ce7(%rip),%rax
movsd  (%rax),%xmm0
mov    0x2cd4(%rip),%rax
movsd  (%rax),%xmm1
lea    0xe3e(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [15 x i8] c"Char bits: %d\0A\00"
@CHAR_BIT = global i32 0
@.str.1 = [17 x i8] c"Char: (%d) - %d\0A\00"
@CHAR_MIN = global i32 0
@CHAR_MAX = global i32 0
@.str.2 = [24 x i8] c"Unsigned Char: %d - %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.3 = [24 x i8] c"Signed Char: (%d) - %d\0A\00"
@SCHAR_MIN = global i32 0
@SCHAR_MAX = global i32 0
@.str.4 = [16 x i8] c"Int: (%d) - %d\0A\00"
@INT_MIN = global i32 0
@INT_MAX = global i32 0
@.str.5 = [23 x i8] c"Unsigned Int: %d - %u\0A\00"
@UINT_MAX = global i32 0
@.str.6 = [19 x i8] c"Long: (%ld) - %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@LONG_MAX = global double 0.000000e+00
@.str.7 = [25 x i8] c"Unsigned Long: %d - %lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.8 = [18 x i8] c"Short: (%d) - %d\0A\00"
@SHRT_MIN = global i32 0
@SHRT_MAX = global i32 0
@.str.9 = [25 x i8] c"Unsigned Short: %d - %d\0A\00"
@USHRT_MAX = global i32 0
@.str.10 = [3 x i8] c"\0A\0A\00"
@.str.11 = [16 x i8] c"Float: %f - %f\0A\00"
@FLT_MIN = global double 0.000000e+00
@FLT_MAX = global double 0.000000e+00
@.str.12 = [17 x i8] c"Double: %f - %f\0A\00"
@DBL_MIN = global double 0.000000e+00
@DBL_MAX = global double 0.000000e+00
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i32, i32* @CHAR_BIT
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = load i32, i32* @CHAR_MIN
%5 = load i32, i32* @CHAR_MAX
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %4, i32 %5)
%7 = load i32, i32* @UCHAR_MAX
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %7)
%9 = load i32, i32* @SCHAR_MIN
%10 = load i32, i32* @SCHAR_MAX
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i32 %9, i32 %10)
%12 = load i32, i32* @INT_MIN
%13 = load i32, i32* @INT_MAX
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %12, i32 %13)
%15 = load i32, i32* @UINT_MAX
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 %15)
%17 = load double, double* @LONG_MIN
%18 = load double, double* @LONG_MAX
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), double %17, double %18)
%20 = load double, double* @ULONG_MAX
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 0, double %20)
%22 = load i32, i32* @SHRT_MIN
%23 = load i32, i32* @SHRT_MAX
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %22, i32 %23)
%25 = load i32, i32* @USHRT_MAX
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 0, i32 %25)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%28 = load double, double* @FLT_MIN
%29 = load double, double* @FLT_MAX
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), double %28, double %29)
%31 = load double, double* @DBL_MIN
%32 = load double, double* @DBL_MAX
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), double %31, double %32)
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"Char bits: %d\0A\00"
@CHAR_BIT = global i32 0
@.str.1 = [17 x i8] c"Char: (%d) - %d\0A\00"
@CHAR_MIN = global i32 0
@CHAR_MAX = global i32 0
@.str.2 = [24 x i8] c"Unsigned Char: %d - %d\0A\00"
@UCHAR_MAX = global i32 0
@.str.3 = [24 x i8] c"Signed Char: (%d) - %d\0A\00"
@SCHAR_MIN = global i32 0
@SCHAR_MAX = global i32 0
@.str.4 = [16 x i8] c"Int: (%d) - %d\0A\00"
@INT_MIN = global i32 0
@INT_MAX = global i32 0
@.str.5 = [23 x i8] c"Unsigned Int: %d - %u\0A\00"
@UINT_MAX = global i32 0
@.str.6 = [19 x i8] c"Long: (%ld) - %ld\0A\00"
@LONG_MIN = global double 0.000000e+00
@LONG_MAX = global double 0.000000e+00
@.str.7 = [25 x i8] c"Unsigned Long: %d - %lu\0A\00"
@ULONG_MAX = global double 0.000000e+00
@.str.8 = [18 x i8] c"Short: (%d) - %d\0A\00"
@SHRT_MIN = global i32 0
@SHRT_MAX = global i32 0
@.str.9 = [25 x i8] c"Unsigned Short: %d - %d\0A\00"
@USHRT_MAX = global i32 0
@.str.11 = [16 x i8] c"Float: %f - %f\0A\00"
@FLT_MIN = global double 0.000000e+00
@FLT_MAX = global double 0.000000e+00
@.str.12 = [17 x i8] c"Double: %f - %f\0A\00"
@DBL_MIN = global double 0.000000e+00
@DBL_MAX = global double 0.000000e+00
@str = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = load i32, i32* @CHAR_BIT
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @CHAR_MIN
%4 = load i32, i32* @CHAR_MAX
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 %4)
%6 = load i32, i32* @UCHAR_MAX
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %6)
%8 = load i32, i32* @SCHAR_MIN
%9 = load i32, i32* @SCHAR_MAX
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0), i32 %8, i32 %9)
%11 = load i32, i32* @INT_MIN
%12 = load i32, i32* @INT_MAX
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %11, i32 %12)
%14 = load i32, i32* @UINT_MAX
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 %14)
%16 = load double, double* @LONG_MIN
%17 = load double, double* @LONG_MAX
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0), double %16, double %17)
%19 = load double, double* @ULONG_MAX
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 0, double %19)
%21 = load i32, i32* @SHRT_MIN
%22 = load i32, i32* @SHRT_MAX
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %21, i32 %22)
%24 = load i32, i32* @USHRT_MAX
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i32 0, i32 %24)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%27 = load double, double* @FLT_MIN
%28 = load double, double* @FLT_MAX
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), double %27, double %28)
%30 = load double, double* @DBL_MIN
%31 = load double, double* @DBL_MAX
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), double %30, double %31)
ret i32 0
}