changeset 326:6ed068a55a1a

[project @ 1994-02-03 01:04:02 by jwe]
author jwe
date Thu, 03 Feb 1994 01:04:22 +0000
parents 76858c603790
children 62ba7bbb62e3
files liboctave/Matrix-ext.cc liboctave/Matrix.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Matrix-ext.cc	Wed Feb 02 11:06:54 1994 +0000
+++ b/liboctave/Matrix-ext.cc	Thu Feb 03 01:04:22 1994 +0000
@@ -26,6 +26,7 @@
 #endif
 
 #include <iostream.h>
+#include <float.h>
 
 #include "Matrix.h"
 #include "mx-inlines.cc"
@@ -850,13 +851,13 @@
 int
 DET::value_will_overflow (void) const
 {
-  return det[2] + 1 > log10 (MAXDOUBLE) ? 1 : 0;
+  return det[2] + 1 > log10 (DBL_MAX) ? 1 : 0;
 }
 
 int
 DET::value_will_underflow (void) const
 {
-  return det[2] - 1 < log10 (MINDOUBLE) ? 1 : 0;
+  return det[2] - 1 < log10 (DBL_MIN) ? 1 : 0;
 }
 
 double
@@ -880,13 +881,13 @@
 int
 ComplexDET::value_will_overflow (void) const
 {
-  return det[2].real () + 1 > log10 (MAXDOUBLE) ? 1 : 0;
+  return det[2].real () + 1 > log10 (DBL_MAX) ? 1 : 0;
 }
 
 int
 ComplexDET::value_will_underflow (void) const
 {
-  return det[2].real () - 1 < log10 (MINDOUBLE) ? 1 : 0;
+  return det[2].real () - 1 < log10 (DBL_MIN) ? 1 : 0;
 }
 
 Complex
--- a/liboctave/Matrix.h	Wed Feb 02 11:06:54 1994 +0000
+++ b/liboctave/Matrix.h	Thu Feb 03 01:04:22 1994 +0000
@@ -34,7 +34,6 @@
 #include <stdlib.h>
 #include <stddef.h>
 #include <math.h>
-#include <values.h>
 #include <assert.h>
 #include <iostream.h>
 // #include <iomanip.h>  // We don\'t use this yet.