xref: /freebsd/lib/libc/softfloat/eqtf2.c (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1 /* $NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $ */
2 
3 /*
4  * Written by Matt Thomas, 2011.  This file is in the Public Domain.
5  */
6 
7 #include <sys/cdefs.h>
8 #include "softfloat-for-gcc.h"
9 #include "milieu.h"
10 #include "softfloat.h"
11 
12 #ifdef FLOAT128
13 flag __eqtf2(float128, float128);
14 
15 flag
16 __eqtf2(float128 a, float128 b)
17 {
18 
19 	/* libgcc1.c says !(a == b) */
20 	return !float128_eq(a, b);
21 }
22 #endif /* FLOAT128 */
23