]>
Commit | Line | Data |
---|---|---|
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 | |
4059386c | 6 | * SPDX-License-Identifier: BSD-2-Clause-Patent\r |
1dbda2b4 AB |
7 | *\r |
8 | **/\r | |
9 | /*\r | |
10 | * Written by Ben Harris, 2000. This file is in the Public Domain.\r | |
11 | */\r | |
12 | \r | |
13 | #include "softfloat-for-gcc.h"\r | |
14 | #include "milieu.h"\r | |
15 | #include "softfloat.h"\r | |
16 | \r | |
1dbda2b4 AB |
17 | #if defined(LIBC_SCCS) && !defined(lint)\r |
18 | __RCSID("$NetBSD: __aeabi_dcmpge.c,v 1.2 2013/04/16 13:38:34 matt Exp $");\r | |
19 | #endif /* LIBC_SCCS and not lint */\r | |
20 | \r | |
21 | int __aeabi_dcmpge(float64, float64);\r | |
22 | \r | |
23 | int\r | |
24 | __aeabi_dcmpge(float64 a, float64 b)\r | |
25 | {\r | |
26 | \r | |
27 | return !float64_lt(a, b) && float64_eq(a, a) && float64_eq(b, b);\r | |
28 | }\r |