xref: /netbsd/lib/libc/softfloat/eqdf2.c (revision 4472dbe5)
1*4472dbe5Sbjh21 /* $NetBSD: eqdf2.c,v 1.1 2000/06/06 08:15:02 bjh21 Exp $ */
2*4472dbe5Sbjh21 
3*4472dbe5Sbjh21 /*
4*4472dbe5Sbjh21  * Written by Ben Harris, 2000.  This file is in the Public Domain.
5*4472dbe5Sbjh21  */
6*4472dbe5Sbjh21 
7*4472dbe5Sbjh21 #include <sys/cdefs.h>
8*4472dbe5Sbjh21 #if defined(LIBC_SCCS) && !defined(lint)
9*4472dbe5Sbjh21 __RCSID("$NetBSD: eqdf2.c,v 1.1 2000/06/06 08:15:02 bjh21 Exp $");
10*4472dbe5Sbjh21 #endif /* LIBC_SCCS and not lint */
11*4472dbe5Sbjh21 
12*4472dbe5Sbjh21 #include "softfloat-for-gcc.h"
13*4472dbe5Sbjh21 #include "milieu.h"
14*4472dbe5Sbjh21 #include "softfloat.h"
15*4472dbe5Sbjh21 
16*4472dbe5Sbjh21 flag __eqdf2(float64, float64);
17*4472dbe5Sbjh21 
18*4472dbe5Sbjh21 flag
__eqdf2(float64 a,float64 b)19*4472dbe5Sbjh21 __eqdf2(float64 a, float64 b)
20*4472dbe5Sbjh21 {
21*4472dbe5Sbjh21 
22*4472dbe5Sbjh21 	/* libgcc1.c says !(a == b) */
23*4472dbe5Sbjh21 	return !float64_eq(a, b);
24*4472dbe5Sbjh21 }
25