diff options
author | 2006-11-06 15:11:37 +0000 | |
---|---|---|
committer | 2006-11-06 15:11:37 +0000 | |
commit | 08daf0c23d348e44ad9e5fdcb608738a28c9c404 (patch) | |
tree | abb56669f1e0ba86c53bb7c20d8dbd3c727d05c1 /lib/libc/softfloat/eqdf2.c | |
parent | fix pasto; only announce restart capability when announcing the restart (diff) | |
download | wireguard-openbsd-08daf0c23d348e44ad9e5fdcb608738a28c9c404.tar.xz wireguard-openbsd-08daf0c23d348e44ad9e5fdcb608738a28c9c404.zip |
Copy MI softfloat bits from arm to here, so that they can be shared.
Diffstat (limited to 'lib/libc/softfloat/eqdf2.c')
-rw-r--r-- | lib/libc/softfloat/eqdf2.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libc/softfloat/eqdf2.c b/lib/libc/softfloat/eqdf2.c new file mode 100644 index 00000000000..c331c037809 --- /dev/null +++ b/lib/libc/softfloat/eqdf2.c @@ -0,0 +1,22 @@ +/* $OpenBSD: eqdf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */ +/* $NetBSD: eqdf2.c,v 1.1 2000/06/06 08:15:02 bjh21 Exp $ */ + +/* + * Written by Ben Harris, 2000. This file is in the Public Domain. + */ + +#include <sys/cdefs.h> + +#include "softfloat-for-gcc.h" +#include "milieu.h" +#include "softfloat.h" + +flag __eqdf2(float64, float64); + +flag +__eqdf2(float64 a, float64 b) +{ + + /* libgcc1.c says !(a == b) */ + return !float64_eq(a, b); +} |