some coverity fixes.
[minix.git] / lib / libc / softfloat / eqtf2.c
blob8184e8c4bf3415a8a9fee42e199b5825b540a5d4
1 /* $NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $ */
3 /*
4 * Written by Matt Thomas, 2011. This file is in the Public Domain.
5 */
7 #include <sys/cdefs.h>
8 #if defined(LIBC_SCCS) && !defined(lint)
9 __RCSID("$NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $");
10 #endif /* LIBC_SCCS and not lint */
12 #include "softfloat-for-gcc.h"
13 #include "milieu.h"
14 #include "softfloat.h"
16 #ifdef FLOAT128
17 flag __eqtf2(float128, float128);
19 flag
20 __eqtf2(float128 a, float128 b)
23 /* libgcc1.c says !(a == b) */
24 return !float128_eq(a, b);
26 #endif /* FLOAT128 */