Home | History | Annotate | Line # | Download | only in softfloat
eqtf2.c revision 1.1.4.2
      1  1.1.4.2  matt /* $NetBSD: eqtf2.c,v 1.1.4.2 2011/04/29 07:48:35 matt Exp $ */
      2  1.1.4.2  matt 
      3  1.1.4.2  matt /*
      4  1.1.4.2  matt  * Written by Matt Thomas, 2011.  This file is in the Public Domain.
      5  1.1.4.2  matt  */
      6  1.1.4.2  matt 
      7  1.1.4.2  matt #include <sys/cdefs.h>
      8  1.1.4.2  matt #if defined(LIBC_SCCS) && !defined(lint)
      9  1.1.4.2  matt __RCSID("$NetBSD: eqtf2.c,v 1.1.4.2 2011/04/29 07:48:35 matt Exp $");
     10  1.1.4.2  matt #endif /* LIBC_SCCS and not lint */
     11  1.1.4.2  matt 
     12  1.1.4.2  matt #include "softfloat-for-gcc.h"
     13  1.1.4.2  matt #include "milieu.h"
     14  1.1.4.2  matt #include "softfloat.h"
     15  1.1.4.2  matt 
     16  1.1.4.2  matt #ifdef FLOAT128
     17  1.1.4.2  matt flag __eqtf2(float128, float128);
     18  1.1.4.2  matt 
     19  1.1.4.2  matt flag
     20  1.1.4.2  matt __eqtf2(float128 a, float128 b)
     21  1.1.4.2  matt {
     22  1.1.4.2  matt 
     23  1.1.4.2  matt 	/* libgcc1.c says !(a == b) */
     24  1.1.4.2  matt 	return !float128_eq(a, b);
     25  1.1.4.2  matt }
     26  1.1.4.2  matt #endif /* FLOAT128 */
     27