Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/complex no more ieee ifdefs
details: https://anonhg.NetBSD.org/src/rev/9cfac79b5bb7
branches: trunk
changeset: 757748:9cfac79b5bb7
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 20 16:55:20 2010 +0000
description:
no more ieee ifdefs
diffstat:
lib/libm/complex/cimagl.c | 6 ++----
lib/libm/complex/conjl.c | 6 ++----
lib/libm/complex/creall.c | 6 ++----
3 files changed, 6 insertions(+), 12 deletions(-)
diffs (93 lines):
diff -r ae080dd1a43d -r 9cfac79b5bb7 lib/libm/complex/cimagl.c
--- a/lib/libm/complex/cimagl.c Mon Sep 20 16:53:30 2010 +0000
+++ b/lib/libm/complex/cimagl.c Mon Sep 20 16:55:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cimagl.c,v 1.2 2010/09/17 20:39:39 christos Exp $ */
+/* $NetBSD: cimagl.c,v 1.3 2010/09/20 16:55:20 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: cimagl.c,v 1.2 2010/09/17 20:39:39 christos Exp $");
+__RCSID("$NetBSD: cimagl.c,v 1.3 2010/09/20 16:55:20 christos Exp $");
#include <complex.h>
#include "../src/math_private.h"
@@ -35,7 +35,6 @@
* cimagl(long double complex z)
* This function returns the imaginary part value (as a real) of z.
*/
-#ifdef EXT_EXP_INFNAN
long double
cimagl(long double complex z)
{
@@ -43,4 +42,3 @@
return (IMAG_PART(w));
}
-#endif
diff -r ae080dd1a43d -r 9cfac79b5bb7 lib/libm/complex/conjl.c
--- a/lib/libm/complex/conjl.c Mon Sep 20 16:53:30 2010 +0000
+++ b/lib/libm/complex/conjl.c Mon Sep 20 16:55:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conjl.c,v 1.3 2010/09/20 15:38:48 christos Exp $ */
+/* $NetBSD: conjl.c,v 1.4 2010/09/20 16:55:20 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: conjl.c,v 1.3 2010/09/20 15:38:48 christos Exp $");
+__RCSID("$NetBSD: conjl.c,v 1.4 2010/09/20 16:55:20 christos Exp $");
#include <complex.h>
#include <math.h>
@@ -37,7 +37,6 @@
* conjl(long double complex z)
* This function returns the complex conjugate value of its argument, z.
*/
-#ifdef EXT_EXP_INFNAN
long double complex
conjl(long double complex z)
{
@@ -47,4 +46,3 @@
return (w.z);
}
-#endif
diff -r ae080dd1a43d -r 9cfac79b5bb7 lib/libm/complex/creall.c
--- a/lib/libm/complex/creall.c Mon Sep 20 16:53:30 2010 +0000
+++ b/lib/libm/complex/creall.c Mon Sep 20 16:55:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: creall.c,v 1.2 2010/09/17 20:39:39 christos Exp $ */
+/* $NetBSD: creall.c,v 1.3 2010/09/20 16:55:20 christos Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: creall.c,v 1.2 2010/09/17 20:39:39 christos Exp $");
+__RCSID("$NetBSD: creall.c,v 1.3 2010/09/20 16:55:20 christos Exp $");
#include <complex.h>
#include "../src/math_private.h"
@@ -35,7 +35,6 @@
* creall(long double complex z)
* This function returns the real part value of z.
*/
-#ifdef EXT_EXP_INFNAN
long double
creall(long double complex z)
{
@@ -43,4 +42,3 @@
return (REAL_PART(w));
}
-#endif
Home |
Main Index |
Thread Index |
Old Index