Home | History | Annotate | Download | only in Softfloat
      1 /* $NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $ */
      2 
      3 /** @file
      4 *
      5 *  Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.
      6 *
      7 *  This program and the accompanying materials
      8 *  are licensed and made available under the terms and conditions of the BSD License
      9 *  which accompanies this distribution.  The full text of the license may be found at
     10 *  http://opensource.org/licenses/bsd-license.php
     11 *
     12 *  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     13 *  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     14 *
     15 **/
     16 
     17 /*
     18  * Written by Matt Thomas, 2011.  This file is in the Public Domain.
     19  */
     20 
     21 #include <sys/cdefs.h>
     22 #if defined(LIBC_SCCS) && !defined(lint)
     23 __RCSID("$NetBSD: eqtf2.c,v 1.1 2011/01/17 10:08:35 matt Exp $");
     24 #endif /* LIBC_SCCS and not lint */
     25 
     26 #include "softfloat-for-gcc.h"
     27 #include "milieu.h"
     28 #include "softfloat.h"
     29 
     30 #ifdef FLOAT128
     31 flag __eqtf2(float128, float128);
     32 
     33 flag
     34 __eqtf2(float128 a, float128 b)
     35 {
     36 
     37     /* libgcc1.c says !(a == b) */
     38     return !float128_eq(a, b);
     39 }
     40 #endif /* FLOAT128 */
     41