#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 /*<<< orphan*/ printf(char *, int, int, double);
void main(void) {
  printf("%*.*f\n", 3, 0, 100.453627);
  printf("%*.*f\n", 3, 1, 100.453627);
  printf("%*.*f\n", 3, 2, 100.453627);
  printf("%*.*f\n", 3, 3, 100.453627);
  printf("%*.*f\n", 3, 4, 100.453627);
  printf("%*.*f\n", 3, 5, 100.453627);
  printf("%*.*f\n", 3, 6, 100.453627);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xeed(%rip),%rdi
mov    $0x3,%esi
xor    %edx,%edx
movsd  0xed6(%rip),%xmm0
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
mov    $0x3,%esi
mov    $0x1,%edx
movsd  0xeb8(%rip),%xmm0
call   1030 <printf@plt>
lea    0xeb4(%rip),%rdi
mov    $0x3,%esi
mov    $0x2,%edx
movsd  0xe9a(%rip),%xmm0
call   1030 <printf@plt>
lea    0xe96(%rip),%rdi
mov    $0x3,%edx
movsd  0xe81(%rip),%xmm0
mov    %edx,%esi
call   1030 <printf@plt>
lea    0xe7b(%rip),%rdi
mov    $0x3,%esi
mov    $0x4,%edx
movsd  0xe61(%rip),%xmm0
call   1030 <printf@plt>
lea    0xe5d(%rip),%rdi
mov    $0x3,%esi
mov    $0x5,%edx
movsd  0xe43(%rip),%xmm0
call   1030 <printf@plt>
lea    0xe3f(%rip),%rdi
mov    $0x3,%esi
mov    $0x6,%edx
movsd  0xe25(%rip),%xmm0
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xef0(%rip),%rbx
movsd  0xee0(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %edx,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
movsd  0xebc(%rip),%xmm0
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
movsd  0xea2(%rip),%xmm0
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
movsd  0xe88(%rip),%xmm0
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x4,%edx
movsd  0xe6e(%rip),%xmm0
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x5,%edx
movsd  0xe54(%rip),%xmm0
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x6,%edx
movsd  0xe3a(%rip),%xmm0
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"%*.*f\0A\00"
define void @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 0, double 0x40591D08398A6549)
%2 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 1, double 0x40591D08398A6549)
%3 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 2, double 0x40591D08398A6549)
%4 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 3, double 0x40591D08398A6549)
%5 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 4, double 0x40591D08398A6549)
%6 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 5, double 0x40591D08398A6549)
%7 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 6, double 0x40591D08398A6549)
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"%*.*f\0A\00"
define void @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 0, double 0x40591D08398A6549)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 1, double 0x40591D08398A6549)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 2, double 0x40591D08398A6549)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 3, double 0x40591D08398A6549)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 4, double 0x40591D08398A6549)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 5, double 0x40591D08398A6549)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 3, i32 6, double 0x40591D08398A6549)
ret void
}