#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*/ eq(double);
int /*<<< orphan*/ ge(double);
int /*<<< orphan*/ gt(double);
int /*<<< orphan*/ le(double);
int /*<<< orphan*/ lt(double);
int /*<<< orphan*/ ne(double);
int main(void) {
  gt(360.0);
  gt(-360.0);
  ge(360.0);
  ge(-360.0);
  lt(-360.0);
  lt(360.0);
  le(-360.0);
  le(360.0);
  eq(0.0);
  eq(360.0);
  ne(360.0);
  ne(0.0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xe89(%rip),%xmm0
call   1060 <gt@plt>
movsd  0xe84(%rip),%xmm0
call   1060 <gt@plt>
movsd  0xe6f(%rip),%xmm0
call   1030 <ge@plt>
movsd  0xe6a(%rip),%xmm0
call   1030 <ge@plt>
movsd  0xe5d(%rip),%xmm0
call   1070 <lt@plt>
movsd  0xe48(%rip),%xmm0
call   1070 <lt@plt>
movsd  0xe43(%rip),%xmm0
call   1040 <le@plt>
movsd  0xe2e(%rip),%xmm0
call   1040 <le@plt>
xorps  %xmm0,%xmm0
call   1080 <eq@plt>
movsd  0xe19(%rip),%xmm0
call   1080 <eq@plt>
movsd  0xe0c(%rip),%xmm0
call   1050 <ne@plt>
xorps  %xmm0,%xmm0
call   1050 <ne@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
movsd  0xe97(%rip),%xmm0
call   1060 <gt@plt>
movsd  0xe92(%rip),%xmm0
call   1060 <gt@plt>
movsd  0xe7d(%rip),%xmm0
call   1030 <ge@plt>
movsd  0xe78(%rip),%xmm0
call   1030 <ge@plt>
movsd  0xe6b(%rip),%xmm0
call   1070 <lt@plt>
movsd  0xe56(%rip),%xmm0
call   1070 <lt@plt>
movsd  0xe51(%rip),%xmm0
call   1040 <le@plt>
movsd  0xe3c(%rip),%xmm0
call   1040 <le@plt>
xorps  %xmm0,%xmm0
call   1080 <eq@plt>
movsd  0xe27(%rip),%xmm0
call   1080 <eq@plt>
movsd  0xe1a(%rip),%xmm0
call   1050 <ne@plt>
xorps  %xmm0,%xmm0
call   1050 <ne@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @gt(double 3.600000e+02)
%3 = call i32 @gt(double -3.600000e+02)
%4 = call i32 @ge(double 3.600000e+02)
%5 = call i32 @ge(double -3.600000e+02)
%6 = call i32 @lt(double -3.600000e+02)
%7 = call i32 @lt(double 3.600000e+02)
%8 = call i32 @le(double -3.600000e+02)
%9 = call i32 @le(double 3.600000e+02)
%10 = call i32 @eq(double 0.000000e+00)
%11 = call i32 @eq(double 3.600000e+02)
%12 = call i32 @ne(double 3.600000e+02)
%13 = call i32 @ne(double 0.000000e+00)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @gt(double 3.600000e+02)
%2 = tail call i32 @gt(double -3.600000e+02)
%3 = tail call i32 @ge(double 3.600000e+02)
%4 = tail call i32 @ge(double -3.600000e+02)
%5 = tail call i32 @lt(double -3.600000e+02)
%6 = tail call i32 @lt(double 3.600000e+02)
%7 = tail call i32 @le(double -3.600000e+02)
%8 = tail call i32 @le(double 3.600000e+02)
%9 = tail call i32 @eq(double 0.000000e+00)
%10 = tail call i32 @eq(double 3.600000e+02)
%11 = tail call i32 @ne(double 3.600000e+02)
%12 = tail call i32 @ne(double 0.000000e+00)
ret i32 0
}