Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/softfloat/ledf2.c,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -u -p -r1.1.4.1 -r1.1.4.2 --- src/lib/libc/softfloat/ledf2.c 2000/06/06 08:15:06 1.1.4.1 +++ src/lib/libc/softfloat/ledf2.c 2000/06/23 16:18:00 1.1.4.2 @@ -0,0 +1,24 @@ +/* $NetBSD: ledf2.c,v 1.1.4.2 2000/06/23 16:18:00 minoura Exp $ */ + +/* + * Written by Ben Harris, 2000. This file is in the Public Domain. + */ + +#include "softfloat-for-gcc.h" +#include "milieu.h" +#include "softfloat.h" + +#include +#if defined(LIBC_SCCS) && !defined(lint) +__RCSID("$NetBSD: ledf2.c,v 1.1.4.2 2000/06/23 16:18:00 minoura Exp $"); +#endif /* LIBC_SCCS and not lint */ + +flag __ledf2(float64, float64); + +flag +__ledf2(float64 a, float64 b) +{ + + /* libgcc1.c says 1 - (a <= b) */ + return 1 - float64_le(a, b); +}