]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Library/ArmSoftFloatLib/Arm/__aeabi_dcmpge.c
ArmPkg/ArmSoftFloatLib: add support for RVCT
[mirror_edk2.git] / ArmPkg / Library / ArmSoftFloatLib / Arm / __aeabi_dcmpge.c
CommitLineData
1dbda2b4
AB
1/* $NetBSD: __aeabi_dcmpge.c,v 1.2 2013/04/16 13:38:34 matt Exp $ */\r
2/** @file\r
3*\r
4* Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.\r
5*\r
6* This program and the accompanying materials\r
7* are licensed and made available under the terms and conditions of the BSD License\r
8* which accompanies this distribution. The full text of the license may be found at\r
9* http://opensource.org/licenses/bsd-license.php\r
10*\r
11* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13*\r
14**/\r
15/*\r
16 * Written by Ben Harris, 2000. This file is in the Public Domain.\r
17 */\r
18\r
19#include "softfloat-for-gcc.h"\r
20#include "milieu.h"\r
21#include "softfloat.h"\r
22\r
1dbda2b4
AB
23#if defined(LIBC_SCCS) && !defined(lint)\r
24__RCSID("$NetBSD: __aeabi_dcmpge.c,v 1.2 2013/04/16 13:38:34 matt Exp $");\r
25#endif /* LIBC_SCCS and not lint */\r
26\r
27int __aeabi_dcmpge(float64, float64);\r
28\r
29int\r
30__aeabi_dcmpge(float64 a, float64 b)\r
31{\r
32\r
33 return !float64_lt(a, b) && float64_eq(a, a) && float64_eq(b, b);\r
34}\r