]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/LibC/Softfloat/eqtf2.c
BaseTools/BinToPcd: Clarify error message for --type HII
[mirror_edk2.git] / StdLib / LibC / Softfloat / eqtf2.c
CommitLineData
3352b62b
N
1/* $NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $ */\r
2\r
3/** @file\r
4*\r
5* Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.\r
6*\r
7* This program and the accompanying materials\r
8* are licensed and made available under the terms and conditions of the BSD License\r
9* which accompanies this distribution. The full text of the license may be found at\r
10* http://opensource.org/licenses/bsd-license.php\r
11*\r
12* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14*\r
15**/\r
16\r
17/*\r
18 * Written by Matt Thomas, 2011. This file is in the Public Domain.\r
19 */\r
20\r
21#include <sys/cdefs.h>\r
22#if defined(LIBC_SCCS) && !defined(lint)\r
23__RCSID("$NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $");\r
24#endif /* LIBC_SCCS and not lint */\r
25\r
26#include "softfloat-for-gcc.h"\r
27#include "milieu.h"\r
28#include "softfloat.h"\r
29\r
30#ifdef FLOAT128\r
31flag __eqtf2(float128, float128);\r
32\r
33flag\r
34__eqtf2(float128 a, float128 b)\r
35{\r
36\r
37 /* libgcc1.c says !(a == b) */\r
38 return !float128_eq(a, b);\r
39}\r
40#endif /* FLOAT128 */\r