Mercurial > hg > octave-terminal
changeset 4278:2cc12970de72
[project @ 2003-01-04 00:41:39 by jwe]
author | jwe |
---|---|
date | Sat, 04 Jan 2003 00:43:48 +0000 |
parents | 5ab4ac522fec |
children | 64c444ac1fee |
files | ChangeLog configure.in libcruft/ChangeLog libcruft/odessa/odessa_rscom.f liboctave/ChangeLog liboctave/CmplxDET.cc liboctave/dbleDET.cc |
diffstat | 7 files changed, 19 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in: Default value of BUILD_CXX is $CXX, not g++. + (AH_BOTTOM): Define __USE_STD_IOSTREAM if using Compaq C++ compiler. 2003-01-02 John W. Eaton <jwe@bevo.che.wisc.edu>
--- a/configure.in +++ b/configure.in @@ -22,7 +22,7 @@ ### 02111-1307, USA. AC_INIT -AC_REVISION($Revision: 1.403 $) +AC_REVISION($Revision: 1.404 $) AC_PREREQ(2.52) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1354,6 +1354,10 @@ std::auto_ptr<T> buf ## _auto_ptr (new T [size]); \ T *buf = buf ## _auto_ptr.get () #endif + +#if defined (__DECCXX) +#define __USE_STD_IOSTREAM +#endif ]) ### Do the substitutions in all the Makefiles.
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,5 +1,8 @@ 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> + * odessa/odessa_rscom.f (ODESSA_RSCOM): Fix apparent typo (LODE2 + should probably be LIODE2). + * Makerules.in (clean, mostlyclean): Also remove *.d. * misc/quit.cc: Add std:: qualifiers to memcpy calls.
--- a/libcruft/odessa/odessa_rscom.f +++ b/libcruft/odessa/odessa_rscom.f @@ -18,7 +18,7 @@ 20 RODE2(I) = RSAV(J) DO 30 I = 1,LIODE1 30 IODE1(I) = ISAV(I) - DO 40 I = 1,LODE2 + DO 40 I = 1,LIODE2 J = LIODE1 + I 40 IODE2(I) = ISAV(J) RETURN
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,10 @@ 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> + * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. + (DET::value_will_underflow): Likewise. + * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. + (ComplexDET::value_will_underflow): Likewise. + * Makefile.in (distclean): Also remove stamp-prereq. * Array2-idx.h (assign): If assignment conforms but the RHS and
--- a/liboctave/CmplxDET.cc +++ b/liboctave/CmplxDET.cc @@ -37,13 +37,13 @@ int ComplexDET::value_will_overflow (void) const { - return det[2].real () + 1 > log10 (DBL_MAX) ? 1 : 0; + return det[1].real () + 1 > log10 (DBL_MAX) ? 1 : 0; } int ComplexDET::value_will_underflow (void) const { - return det[2].real () - 1 < log10 (DBL_MIN) ? 1 : 0; + return det[1].real () - 1 < log10 (DBL_MIN) ? 1 : 0; } Complex
--- a/liboctave/dbleDET.cc +++ b/liboctave/dbleDET.cc @@ -36,13 +36,13 @@ int DET::value_will_overflow (void) const { - return det[2] + 1 > log10 (DBL_MAX) ? 1 : 0; + return det[1] + 1 > log10 (DBL_MAX) ? 1 : 0; } int DET::value_will_underflow (void) const { - return det[2] - 1 < log10 (DBL_MIN) ? 1 : 0; + return det[1] - 1 < log10 (DBL_MIN) ? 1 : 0; } double