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 #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 */ 11 12 #include "softfloat-for-gcc.h" 13 #include "milieu.h" 14 #include "softfloat.h" 15 16 #ifdef FLOAT128 17 flag __eqtf2(float128, float128); 18 19 flag __eqtf2(float128 a,float128 b)20__eqtf2(float128 a, float128 b) 21 { 22 23 /* libgcc1.c says !(a == b) */ 24 return !float128_eq(a, b); 25 } 26 #endif /* FLOAT128 */ 27