1 1.2 matt /* $NetBSD: __aeabi_fcmpgt.c,v 1.2 2013/04/16 13:38:34 matt Exp $ */ 2 1.1 matt 3 1.1 matt /* 4 1.1 matt * Written by Ben Harris, 2000. This file is in the Public Domain. 5 1.1 matt */ 6 1.1 matt 7 1.1 matt #include "softfloat-for-gcc.h" 8 1.1 matt #include "milieu.h" 9 1.1 matt #include "softfloat.h" 10 1.1 matt 11 1.1 matt #include <sys/cdefs.h> 12 1.1 matt #if defined(LIBC_SCCS) && !defined(lint) 13 1.2 matt __RCSID("$NetBSD: __aeabi_fcmpgt.c,v 1.2 2013/04/16 13:38:34 matt Exp $"); 14 1.1 matt #endif /* LIBC_SCCS and not lint */ 15 1.1 matt 16 1.1 matt int __aeabi_fcmpgt(float32, float32); 17 1.1 matt 18 1.1 matt int 19 1.1 matt __aeabi_fcmpgt(float32 a, float32 b) 20 1.1 matt { 21 1.1 matt 22 1.2 matt return !float32_le(a, b) && float32_eq(a, a) && float32_eq(b, b); 23 1.1 matt } 24