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