# HG changeset patch # User jwe # Date 849495403 0 # Node ID c097977bca6f4a1534e9b062e3606db94b6b5ac4 # Parent 4423962a2cb57366fd56a4a860708c5a3dbcdd62 [project @ 1996-12-02 02:56:01 by jwe] diff -r 4423962a2cb5 -r c097977bca6f ChangeLog --- a/ChangeLog Fri Nov 22 21:11:20 1996 +0000 +++ b/ChangeLog Mon Dec 02 02:56:43 1996 +0000 @@ -1,3 +1,13 @@ +Sun Nov 24 21:40:25 1996 John W. Eaton + + * configure.in: Set GCC_IEEE_FP_FLAG to -mieee-fp on all x86 + systems, not just those running Linux. + +Fri Nov 22 15:10:34 1996 John W. Eaton + + * emacs/octave.el: Update from Kurt Hornik to with fixes for + fill-paragraph. + Wed Nov 20 00:33:03 1996 John W. Eaton * Version 1.93. diff -r 4423962a2cb5 -r c097977bca6f PROJECTS --- a/PROJECTS Fri Nov 22 21:11:20 1996 +0000 +++ b/PROJECTS Mon Dec 02 02:56:43 1996 +0000 @@ -606,8 +606,6 @@ strftime(). A C version is apparently in recent releases of the Linux C library. - * Merge OS/2 changes. - ------ Always: ------ diff -r 4423962a2cb5 -r c097977bca6f configure.in --- a/configure.in Fri Nov 22 21:11:20 1996 +0000 +++ b/configure.in Mon Dec 02 02:56:43 1996 +0000 @@ -21,7 +21,7 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -AC_REVISION($Revision: 1.235 $) +AC_REVISION($Revision: 1.236 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -296,15 +296,15 @@ fi AC_SUBST(CC_VERSION) -### On Linux systems we need to compile with -mieee-fp to get full -### support for IEEE floating point. +### On Intel systems with gcc, we need to compile with -mieee-fp to +### get full support for IEEE floating point. ### ### On Alpha/OSF systems, wee need -mieee-with-inexact, but that also ### requires gcc 2.8.x or later. case "$canonical_host_type" in changequote(,)dnl - i[3456789]86-*-linux*) + i[3456789]86-*-*) changequote([,])dnl GCC_IEEE_FP_FLAG="-mieee-fp" AC_MSG_RESULT([defining GCC_IEEE_FP_FLAG to be $GCC_IEEE_FP_FLAG]) diff -r 4423962a2cb5 -r c097977bca6f info/ChangeLog --- a/info/ChangeLog Fri Nov 22 21:11:20 1996 +0000 +++ b/info/ChangeLog Mon Dec 02 02:56:43 1996 +0000 @@ -1,3 +1,7 @@ +Sun Nov 24 21:24:39 1996 John W. Eaton + + * configure.in (TERMLIBS): Look for ncurses too. + Tue Nov 12 14:44:00 1996 John W. Eaton * Makefile.in (VPATH): Don't include $(common). diff -r 4423962a2cb5 -r c097977bca6f info/configure.in --- a/info/configure.in Fri Nov 22 21:11:20 1996 +0000 +++ b/info/configure.in Mon Dec 02 02:56:43 1996 +0000 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.6 1996-11-13 03:41:38 jwe Exp $ +dnl $Id: configure.in,v 1.7 1996-12-02 02:56:43 jwe Exp $ AC_INIT(info.c) dnl Checks for programs. @@ -15,7 +15,7 @@ AC_CHECK_LIB(bsd, sigblock) TERMLIBS= -for termlib in curses termcap terminfo termlib ; do +for termlib in ncurses curses termcap terminfo termlib ; do AC_CHECK_LIB(${termlib}, tputs, [TERMLIBS="${TERMLIBS} -l${termlib}"; break]) done diff -r 4423962a2cb5 -r c097977bca6f scripts/ChangeLog --- a/scripts/ChangeLog Fri Nov 22 21:11:20 1996 +0000 +++ b/scripts/ChangeLog Mon Dec 02 02:56:43 1996 +0000 @@ -1,3 +1,7 @@ +Sun Dec 1 20:55:34 1996 John W. Eaton + + * strings/str2num.m: New file. + Wed Nov 20 01:00:24 1996 John W. Eaton * Version 1.93. diff -r 4423962a2cb5 -r c097977bca6f scripts/strings/str2num.m --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/strings/str2num.m Mon Dec 02 02:56:43 1996 +0000 @@ -0,0 +1,38 @@ +## Copyright (C) 1996 Kurt Hornik +## +## This file is part of Octave. +## +## Octave is free software; you can redistribute it and/or modify it +## under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## Octave is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with Octave; see the file COPYING. If not, write to the Free +## Software Foundation, 59 Temple Place - Suite 330, Boston, MA +## 02111-1307, USA. + +## usage: m = str2num (s) +## +## Convert the string S to a number. + +## Author: jwe + +function m = str2num (s) + + if (nargin == 1 && isstr (s)) + [nr, nc] = size (s); + sep = ";"; + sep = sep (ones (nr, 1), 1); + s = sprintf ("m = [%s];", reshape ([s, sep]', 1, nr * (nc + 1))); + eval (s, "m = [];"); + else + usage ("str2num (s)"); + endif + +endfunction