xref: /minix3/lib/libc/softfloat/netf2.c (revision 2fe8fb192fe7e8720e3e7a77f928da545e872a6a)
1*2fe8fb19SBen Gras /* $NetBSD: netf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $ */
2*2fe8fb19SBen Gras 
3*2fe8fb19SBen Gras /*
4*2fe8fb19SBen Gras  * Written by Matt Thomas, 2011.  This file is in the Public Domain.
5*2fe8fb19SBen Gras  */
6*2fe8fb19SBen Gras 
7*2fe8fb19SBen Gras #include "softfloat-for-gcc.h"
8*2fe8fb19SBen Gras #include "milieu.h"
9*2fe8fb19SBen Gras #include "softfloat.h"
10*2fe8fb19SBen Gras 
11*2fe8fb19SBen Gras #include <sys/cdefs.h>
12*2fe8fb19SBen Gras #if defined(LIBC_SCCS) && !defined(lint)
13*2fe8fb19SBen Gras __RCSID("$NetBSD: netf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $");
14*2fe8fb19SBen Gras #endif /* LIBC_SCCS and not lint */
15*2fe8fb19SBen Gras 
16*2fe8fb19SBen Gras #ifdef FLOAT128
17*2fe8fb19SBen Gras 
18*2fe8fb19SBen Gras flag __netf2(float128, float128);
19*2fe8fb19SBen Gras 
20*2fe8fb19SBen Gras flag
__netf2(float128 a,float128 b)21*2fe8fb19SBen Gras __netf2(float128 a, float128 b)
22*2fe8fb19SBen Gras {
23*2fe8fb19SBen Gras 
24*2fe8fb19SBen Gras 	/* libgcc1.c says a != b */
25*2fe8fb19SBen Gras 	return !float128_eq(a, b);
26*2fe8fb19SBen Gras }
27*2fe8fb19SBen Gras 
28*2fe8fb19SBen Gras #endif /* FLOAT128 */
29