]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/ArmSoftFloatLib/Arm/__aeabi_dcmpge.c
d95371258aa81c11e46137c53007485f6d2fd35c
[mirror_edk2.git] / ArmPkg / Library / ArmSoftFloatLib / Arm / __aeabi_dcmpge.c
1 /* $NetBSD: __aeabi_dcmpge.c,v 1.2 2013/04/16 13:38:34 matt Exp $ */
2 /** @file
3 *
4 * Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.
5 *
6 * SPDX-License-Identifier: BSD-2-Clause-Patent
7 *
8 **/
9 /*
10 * Written by Ben Harris, 2000. This file is in the Public Domain.
11 */
12
13 #include "softfloat-for-gcc.h"
14 #include "milieu.h"
15 #include "softfloat.h"
16
17 #if defined(LIBC_SCCS) && !defined(lint)
18 __RCSID("$NetBSD: __aeabi_dcmpge.c,v 1.2 2013/04/16 13:38:34 matt Exp $");
19 #endif /* LIBC_SCCS and not lint */
20
21 int __aeabi_dcmpge(float64, float64);
22
23 int
24 __aeabi_dcmpge(float64 a, float64 b)
25 {
26
27 return !float64_lt(a, b) && float64_eq(a, a) && float64_eq(b, b);
28 }