Return to ledf2.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / softfloat |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.1.4.1, 2000/06/06 08:15:06 | version 1.1.4.2, 2000/06/23 16:18:00 | ||
---|---|---|---|
|
|
||
/* $NetBSD$ */ | |||
/* | |||
* Written by Ben Harris, 2000. This file is in the Public Domain. | |||
*/ | |||
#include "softfloat-for-gcc.h" | |||
#include "milieu.h" | |||
#include "softfloat.h" | |||
#include <sys/cdefs.h> | |||
#if defined(LIBC_SCCS) && !defined(lint) | |||
__RCSID("$NetBSD$"); | |||
#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); | |||
} |