📄 readme
字号:
than " .0000E+00".Thu Jul 14 17:55:46 EDT 1994 Fix glitch in changes of 6 July 1994 that could cause erroneous"division by zero" warnings (or worse). Example: subroutine foo(a,b) y = b a = a / y ! erroneous warning of division by zero endMon Aug 1 16:45:17 EDT 1994 libi77: lread.c rsne.c: for benefit of systems with a buggy stdio.h,declare ungetc when neither KR_headers nor ungetc is #defined.Wed Aug 3 01:53:00 EDT 1994 libi77: lwrite.c (list output): do not insert a newline whenappending an oversize item to an empty line.Mon Aug 8 00:51:01 EDT 1994 Fix bug (introduced 3 Feb. 1993) that, under -i2, kept LOGICAL*2variables from appearing in INQUIRE statements. Under -I2, allowLOGICAL*4 variables to appear in INQUIRE. Fix intrinsic functionLEN so it returns a short value under -i2, a long value otherwise. exec.c: fix obscure memory fault possible with bizarre (and highlyerroneous) DO-loop syntax.Fri Aug 12 10:45:57 EDT 1994 libi77: fix glitch that kept ERR= (in list- or format-directed input)from working after a NAMELIST READ.Thu Aug 25 13:58:26 EDT 1994 Suppress -s when -C is specified.Wed Sep 7 22:13:20 EDT 1994 libi77: typesize.c: adjust to allow types LOGICAL*1, LOGICAL*2,INTEGER*1, and (under -DAllow_TYQUAD) INTEGER*8 in NAMELISTs.Fri Sep 16 17:50:18 EDT 1994 Change name adjustment for reserved words: instead of just appending"_" (a single underscore), append "_a_" to local variable names to avoidtrouble when a common block is named a reserved word and the samereserved word is also a local variable name. Example: common /const/ a,b,c real const(3) equivalence (const(1),a) a = 1.234 end Arrange for ichar() to treat characters as unsigned. libf77: s_cmp.c: treat characters as unsigned in comparisons.These changes for unsignedness only matter for strings that containnon-ASCII characters. Now ichar() should always be >= 0.Sat Sep 17 11:19:32 EDT 1994 fc: set rc=$? before exit (to get exit code right in trap code).Mon Sep 19 17:49:43 EDT 1994 libf77: s_paus.c: flush stderr after PAUSE; add #ifdef MSDOS stuff. libi77: README: point out general need for -DMSDOS under MS-DOS.Tue Sep 20 11:42:30 EDT 1994 Fix bug in comparing identically named common blocks, in whichall components have the same names and types, but at least one isdimensioned (1) and the other is not dimensioned. Example: subroutine foo common /ab/ a a=1. !!! translated correctly to ab_1.a = (float)1.; end subroutine goo common /ab/ a(1) a(1)=2. !!! translated erroneously to ab_1.a[0] = (float)2. endTue Sep 27 23:47:34 EDT 1994 Fix bug introduced 16 Sept. 1994: don't add _a_ to C keywordsused as external names. In fact, return to earlier behavior ofappending __ to C keywords unless they are used as external names,in which case they get just one underscore appended. Adjust constant handling so integer and logical PARAMETERs retaintype information, particularly under -I2. Example: SUBROUTINE FOO INTEGER I INTEGER*1 I1 INTEGER*2 I2 INTEGER*4 I4 LOGICAL L LOGICAL*1 L1 LOGICAL*2 L2 LOGICAL*4 L4 PARAMETER (L=.FALSE., L1=.FALSE., L2=.FALSE., L4=.FALSE.) PARAMETER (I=0,I1=0,I2=0,I4=0) CALL DUMMY(I, I1, I2, I4, L, L1, L2, L4) END f2c.1t: Change f\^2c to f2c (omit half-narrow space) in line following".SH NAME" for benefit of systems that cannot cope with troff commandsin this context.Wed Sep 28 12:45:19 EDT 1994 libf77: s_cmp.c fix glitch in -DKR_headers version introduced12 days ago.Thu Oct 6 09:46:53 EDT 1994 libi77: util.c: omit f__mvgbt (which is never used). f2c.h: change "long" to "long int" to facilitate the adjustmentsby means of sed described above. Comment out unused typedef of Long.Fri Oct 21 18:02:24 EDT 1994 libf77: add s_catow.c and adjust README to point out that changing"s_cat.o" to "s_catow.o" in the makefile will permit the target of aconcatenation to appear on its right-hand side (contrary to theFortran 77 Standard and at the cost of some run-time efficiency).Wed Nov 2 00:03:58 EST 1994 Adjust -g output to contain only one #line line per statement,inserting \ before the \n ending lines broken because of theirlength [this insertion was recanted 10 Dec. 1994]. This changeaccommodates an idiocy in the ANSI/ISO C standard, which leavesundefined the behavior of #line lines that occur within the argumentsto a macro call. Wed Nov 2 14:44:27 EST 1994 libi77: under compilation with -DALWAYS_FLUSH, flush buffers atthe end of each write statement, and test (via the return fromfflush) for write failures, which can be caught with an ERR=specifier in the write statement. This extra flushing slowsexecution, but can abort execution or alter the flow of controlwhen a disk fills up. f2c/src/io.c: Add ERR= test to e_wsle invocation (end oflist-directed external output) to catch write failures when libI77is compiled with -DALWAYS_FLUSH.Thu Nov 3 10:59:13 EST 1994 Fix bug in handling dimensions involving certain intrinsicfunctions of constant expressions: the expressions, rather thanpointers to them, were passed. Example: subroutine subtest(n,x) real x(2**n,n) ! pow_ii(2,n) was called; now it's pow_ii(&c__2,n) x(2,2)=3. endTue Nov 8 23:56:30 EST 1994 malloc.c: remove assumption that only malloc calls sbrk. Thisappears to make malloc.c useful on RS6000 systems.Sun Nov 13 13:09:38 EST 1994 Turn off constant folding of integers used in floating-pointexpressions, so the assignment in subroutine foo(x) double precision x x = x*1000000*500000 endis rendered as *x = *x * 1000000 * 500000;rather than as *x *= 1783793664;Sat Dec 10 16:31:40 EST 1994 Supply a better error message (than "Impossible type 14") for subroutine foo foo = 3 end Under -g, convey name of included files to #line lines. Recant insertion of \ introduced (under -g) 2 Nov. 1994.Thu Dec 15 14:33:55 EST 1994 New command-line option -Idir specifies directories in which tolook for non-absolute include files (after looking in the directoryof the current input file). There can be several -Idir options, eachspecifying one directory. All -Idir options are considered, fromleft to right, until a suitably named file is found. The -I2 and -I4command-line options have precedence, so directories named 2 or 4must be spelled by some circumlocation, such as -I./2 . f2c.ps updated to mention the new -Idir option, correct a typo,and bring the man page at the end up to date. lex.c: fix bug in reading line numbers in #line lines. fc updated to pass -Idir options to f2c.Thu Dec 29 09:48:03 EST 1994 Fix bug (e.g., addressing fault) in diagnosing inconsistency inthe type of function eta in the following example: function foo(c1,c2) double complex foo,c1,c2 double precision eta foo = eta(c1,c2) end function eta(c1,c2) double complex eta,c1,c2 eta = c1*c2 endMon Jan 2 13:27:26 EST 1995 Retain casts for SNGL (or FLOAT) that were erroneously optimizedaway. Example: subroutine foo(a,b) double precision a,b a = float(b) ! now rendered as *a = (real) (*b); end Use float (rather than double) temporaries in certain expressionsof type complex. Example: the temporary for sngl(b) in complex a double precision b a = sngl(b) - (3.,4.)is now of type float.Fri Jan 6 00:00:27 EST 1995 Adjust intrinsic function cmplx to act as dcmplx (returningdouble complex rather than complex) if either of its args is oftype double precision. The double temporaries used prior to 2 Jan.1995 previously gave it this same behavior.Thu Jan 12 12:31:35 EST 1995 Adjust -krd to use double temporaries in some calculations oftype complex. libf77: pow_[dhiqrz][hiq].c: adjust x**i to work on machinesthat sign-extend right shifts when i is the most negative integer.Current timestamps of files in "all from f2c/src", sorted by time,appear below (mm/dd/year hh:mm:ss). To bring your source up to date,obtain source files with a timestamp later than the time shown in yourversion.c. Note that the time shown in the current version.c is thetimestamp of the source module that immediately follows version.c below: 1/12/1995 12:31:15 xsum0.out 1/10/1995 19:06:23 version.c 1/10/1995 19:06:14 proc.c 1/05/1995 19:14:27 intr.c 1/02/1995 13:26:49 putpcc.c 1/02/1995 9:19:52 expr.c 1/02/1995 8:45:01 Notice12/16/1994 15:25:18 README12/15/1994 13:47:30 f2c.112/15/1994 13:37:53 f2c.1t12/15/1994 13:00:26 main.c12/15/1994 12:28:06 lex.c12/10/1994 15:24:15 niceprintf.c12/09/1994 23:48:20 format.c11/30/1994 16:35:41 exec.c11/08/1994 23:40:55 malloc.c11/03/1994 10:10:46 vax.c11/02/1994 14:38:06 io.c10/06/1994 9:46:11 f2c.h 9/27/1994 23:11:18 init.c 9/27/1994 23:11:00 defs.h 9/27/1994 23:09:35 put.c 9/27/1994 23:03:16 data.c 9/27/1994 22:09:21 names.c 9/27/1994 18:27:26 misc.c 9/16/1994 16:56:14 output.c 7/01/1994 23:46:42 sysdep.h 7/01/1994 23:24:55 makefile 5/10/1994 7:42:53 p1output.c 5/10/1994 7:42:53 parse_args.c 3/05/1994 0:57:28 sysdep.c 3/04/1994 23:42:15 pread.c 2/25/1994 22:18:14 xsum.c 2/25/1994 10:56:33 error.c 2/25/1994 10:25:21 gram.head 2/25/1994 10:24:54 mem.c 2/25/1994 10:24:54 formatdata.c 2/25/1994 10:24:53 equiv.c 2/25/1994 10:24:52 cds.c 2/25/1994 2:07:19 parse.h 2/22/1994 19:07:20 iob.h 2/22/1994 18:56:53 p1defs.h 2/22/1994 18:53:46 output.h 2/22/1994 18:51:14 names.h 2/22/1994 18:30:41 format.h 1/18/1994 18:12:52 gram.dcl 1/18/1994 18:12:52 tokens 3/06/1993 14:13:58 gram.expr 3/04/1993 14:59:25 gram.exec 1/28/1993 9:03:16 ftypes.h 1/25/1993 11:26:33 defines.h 4/06/1990 0:00:57 gram.io 2/03/1990 0:58:26 niceprintf.h 1/29/1990 13:26:52 memset.c 1/07/1990 1:20:01 usignal.h11/27/1989 8:27:37 machdefs.h 7/01/1989 11:59:44 pccdefs.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -