xref: /freebsd/lib/libc/softfloat/eqtf2.c (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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 __FBSDID("$FreeBSD$");
9 
10 #include "softfloat-for-gcc.h"
11 #include "milieu.h"
12 #include "softfloat.h"
13 
14 #ifdef FLOAT128
15 flag __eqtf2(float128, float128);
16 
17 flag
18 __eqtf2(float128 a, float128 b)
19 {
20 
21 	/* libgcc1.c says !(a == b) */
22 	return !float128_eq(a, b);
23 }
24 #endif /* FLOAT128 */
25