]>
git.proxmox.com Git - mirror_edk2.git/blob - StdLib/LibC/Softfloat/gesf2.c
1 /* $NetBSD: gesf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */
5 * Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.
7 * This program and the accompanying materials
8 * are licensed and made available under the terms and conditions of the BSD License
9 * which accompanies this distribution. The full text of the license may be found at
10 * http://opensource.org/licenses/bsd-license.php
12 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 * Written by Ben Harris, 2000. This file is in the Public Domain.
21 #include "softfloat-for-gcc.h"
23 #include "softfloat.h"
25 #include <sys/cdefs.h>
26 #if defined(LIBC_SCCS) && !defined(lint)
27 __RCSID("$NetBSD: gesf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $");
28 #endif /* LIBC_SCCS and not lint */
30 flag
__gesf2(float32
, float32
);
33 __gesf2(float32 a
, float32 b
)
36 /* libgcc1.c says (a >= b) - 1 */
37 return float32_le(b
, a
) - 1;