changeset 4313:efd8cd91857e

[project @ 2003-01-30 06:56:00 by jwe]
author jwe
date Thu, 30 Jan 2003 06:56:00 +0000
parents 1b3804420b1b
children b8f7e8193bf6
files liboctave/ChangeLog liboctave/lo-mappers.cc
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog	Thu Jan 30 05:22:26 2003 +0000
+++ b/liboctave/ChangeLog	Thu Jan 30 06:56:00 2003 +0000
@@ -1,3 +1,7 @@
+2003-01-30  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN.
+
 2003-01-28  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* CMatrix.cc, dMatrix.cc: Move min and max functions here, from
--- a/liboctave/lo-mappers.cc	Thu Jan 30 05:22:26 2003 +0000
+++ b/liboctave/lo-mappers.cc	Thu Jan 30 06:56:00 2003 +0000
@@ -67,7 +67,7 @@
 double
 imag (double x)
 {
-  return xisnan (x) ? octave_NaN : 0.0;
+  return 0.0;
 }
 
 double