Home | History | Annotate | Line # | Download | only in softfloat
__aeabi_fcmpge.c revision 1.2.8.2
      1  1.2.8.2  yamt /* $NetBSD: __aeabi_fcmpge.c,v 1.2.8.2 2014/05/22 11:36:46 yamt Exp $ */
      2  1.2.8.2  yamt 
      3  1.2.8.2  yamt /*
      4  1.2.8.2  yamt  * Written by Ben Harris, 2000.  This file is in the Public Domain.
      5  1.2.8.2  yamt  */
      6  1.2.8.2  yamt 
      7  1.2.8.2  yamt #include "softfloat-for-gcc.h"
      8  1.2.8.2  yamt #include "milieu.h"
      9  1.2.8.2  yamt #include "softfloat.h"
     10  1.2.8.2  yamt 
     11  1.2.8.2  yamt #include <sys/cdefs.h>
     12  1.2.8.2  yamt #if defined(LIBC_SCCS) && !defined(lint)
     13  1.2.8.2  yamt __RCSID("$NetBSD: __aeabi_fcmpge.c,v 1.2.8.2 2014/05/22 11:36:46 yamt Exp $");
     14  1.2.8.2  yamt #endif /* LIBC_SCCS and not lint */
     15  1.2.8.2  yamt 
     16  1.2.8.2  yamt int __aeabi_fcmpge(float32, float32);
     17  1.2.8.2  yamt 
     18  1.2.8.2  yamt int
     19  1.2.8.2  yamt __aeabi_fcmpge(float32 a, float32 b)
     20  1.2.8.2  yamt {
     21  1.2.8.2  yamt 
     22  1.2.8.2  yamt 	return !float32_lt(a, b) && float32_eq(a, a) && float32_eq(b, b);
     23  1.2.8.2  yamt }
     24