void RunANSICBasics01(void) {
  printf("\n%s\n-----------\n", __func__);
  ShowFahrenheitConversion(-17.8);
  ShowFahrenheitConversion(0.0);
  ShowFahrenheitConversion(12.8);
  ShowFahrenheitConversion(24.2);
  ShowFahrenheitConversion(37.0);
}


x86 assembly (clang, -O0):
<RunANSICBasics01>:
push   %rbp
mov    %rsp,%rbp
lea    0xef5(%rip),%rdi
lea    0xeff(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  0xed7(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xeb6(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xe9f(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xe88(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<RunANSICBasics01>:
push   %rax
lea    0xef8(%rip),%rdi
lea    0xf02(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movsd  0xec2(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xeb1(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xeaa(%rip),%xmm0
mov    $0x1,%al
call   1040 <ShowFahrenheitConversion@plt>
movsd  0xea3(%rip),%xmm0
mov    $0x1,%al
pop    %rcx
jmp    1040 <ShowFahrenheitConversion@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"\0A%s\0A-----------\0A\00"
@__func__.RunANSICBasics01 = [17 x i8] c"RunANSICBasics01\00"
define void @RunANSICBasics01() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.RunANSICBasics01, i64 0, i64 0))
%2 = call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double -1.780000e+01)
%3 = call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 0.000000e+00)
%4 = call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 1.280000e+01)
%5 = call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 2.420000e+01)
%6 = call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 3.700000e+01)
ret void
}

LLVM IR (-O2):
@.str = [17 x i8] c"\0A%s\0A-----------\0A\00"
@__func__.RunANSICBasics01 = [17 x i8] c"RunANSICBasics01\00"
define void @RunANSICBasics01() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.RunANSICBasics01, i64 0, i64 0))
%2 = tail call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double -1.780000e+01)
%3 = tail call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 0.000000e+00)
%4 = tail call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 1.280000e+01)
%5 = tail call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 2.420000e+01)
%6 = tail call i32 (double, ...) bitcast (i32 (...)* @ShowFahrenheitConversion to i32 (double, ...)*)(double 3.700000e+01)
ret void
}