Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/complex get rid of ieee dependencies.
details: https://anonhg.NetBSD.org/src/rev/ae080dd1a43d
branches: trunk
changeset: 757747:ae080dd1a43d
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 20 16:53:30 2010 +0000
description:
get rid of ieee dependencies.
diffstat:
lib/libm/complex/cproj.c | 5 ++---
lib/libm/complex/cprojf.c | 5 ++---
lib/libm/complex/cprojl.c | 7 ++-----
3 files changed, 6 insertions(+), 11 deletions(-)
diffs (79 lines):
diff -r f9264b5779bd -r ae080dd1a43d lib/libm/complex/cproj.c
--- a/lib/libm/complex/cproj.c Mon Sep 20 16:13:35 2010 +0000
+++ b/lib/libm/complex/cproj.c Mon Sep 20 16:53:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cproj.c,v 1.1 2010/09/15 16:11:29 christos Exp $ */
+/* $NetBSD: cproj.c,v 1.2 2010/09/20 16:53:30 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: cproj.c,v 1.1 2010/09/15 16:11:29 christos Exp $");
+__RCSID("$NetBSD: cproj.c,v 1.2 2010/09/20 16:53:30 christos Exp $");
#include <complex.h>
#include <math.h>
-#include <machine/ieee.h>
#include "../src/math_private.h"
diff -r f9264b5779bd -r ae080dd1a43d lib/libm/complex/cprojf.c
--- a/lib/libm/complex/cprojf.c Mon Sep 20 16:13:35 2010 +0000
+++ b/lib/libm/complex/cprojf.c Mon Sep 20 16:53:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cprojf.c,v 1.1 2010/09/15 16:11:29 christos Exp $ */
+/* $NetBSD: cprojf.c,v 1.2 2010/09/20 16:53:30 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: cprojf.c,v 1.1 2010/09/15 16:11:29 christos Exp $");
+__RCSID("$NetBSD: cprojf.c,v 1.2 2010/09/20 16:53:30 christos Exp $");
#include <complex.h>
#include <math.h>
-#include <machine/ieee.h>
#include "../src/math_private.h"
diff -r f9264b5779bd -r ae080dd1a43d lib/libm/complex/cprojl.c
--- a/lib/libm/complex/cprojl.c Mon Sep 20 16:13:35 2010 +0000
+++ b/lib/libm/complex/cprojl.c Mon Sep 20 16:53:30 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cprojl.c,v 1.2 2010/09/17 20:39:39 christos Exp $ */
+/* $NetBSD: cprojl.c,v 1.3 2010/09/20 16:53:30 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,11 +26,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: cprojl.c,v 1.2 2010/09/17 20:39:39 christos Exp $");
+__RCSID("$NetBSD: cprojl.c,v 1.3 2010/09/20 16:53:30 christos Exp $");
#include <complex.h>
#include <math.h>
-#include <machine/ieee.h>
#include "../src/math_private.h"
@@ -46,7 +45,6 @@
*
* INFINITY + I * copysign(0.0, cimag(z))
*/
-#ifdef EXT_EXP_INFNAN
long double complex
cprojl(long double complex z)
{
@@ -59,4 +57,3 @@
return (w.z);
}
-#endif
Home |
Main Index |
Thread Index |
Old Index