]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - lib/libc/softfloat/eqtf2.c
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / lib / libc / softfloat / eqtf2.c
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 __FBSDID("$FreeBSD$");
9
10 #include "softfloat-for-gcc.h"
11 #include "milieu.h"
12 #include "softfloat.h"
13
14 #ifdef FLOAT128
15 flag __eqtf2(float128, float128);
16
17 flag
18 __eqtf2(float128 a, float128 b)
19 {
20
21         /* libgcc1.c says !(a == b) */
22         return !float128_eq(a, b);
23 }
24 #endif /* FLOAT128 */