• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-Oct-2012-

F77_aloc.cH A D11-Oct-2012441 2520

Makefile.inH A D11-Oct-20126.6 KiB256200

NoticeH A D11-Oct-20121.2 KiB2420

README.netlibH A D11-Oct-20124.6 KiB11387

Version.cH A D11-Oct-20124.3 KiB9515

abort_.cH A D11-Oct-2012179 129

c_abs.cH A D11-Oct-2012123 107

c_cos.cH A D11-Oct-2012184 1310

c_div.cH A D11-Oct-2012841 4440

c_exp.cH A D11-Oct-2012190 1511

c_log.cH A D11-Oct-2012219 1411

c_sin.cH A D11-Oct-2012183 1310

c_sqrt.cH A D11-Oct-2012490 3127

cabs.cH A D11-Oct-2012393 2522

configureH A D11-Oct-201246.1 KiB1,5691,284

configure.inH A D11-Oct-20123 KiB11296

d_abs.cH A D11-Oct-2012100 108

d_acos.cH A D11-Oct-2012104 108

d_asin.cH A D11-Oct-2012104 108

d_atan.cH A D11-Oct-2012104 108

d_atn2.cH A D11-Oct-2012125 108

d_cnjg.cH A D11-Oct-2012126 108

d_cos.cH A D11-Oct-2012102 108

d_cosh.cH A D11-Oct-2012104 108

d_dim.cH A D11-Oct-2012102 86

d_exp.cH A D11-Oct-2012102 108

d_imag.cH A D11-Oct-201273 86

d_int.cH A D11-Oct-2012130 108

d_lg10.cH A D11-Oct-2012151 129

d_log.cH A D11-Oct-2012102 108

d_mod.cH A D11-Oct-2012525 3432

d_nint.cH A D11-Oct-2012141 108

d_prod.cH A D11-Oct-201281 86

d_sign.cH A D11-Oct-2012138 108

d_sin.cH A D11-Oct-2012102 108

d_sinh.cH A D11-Oct-2012104 108

d_sqrt.cH A D11-Oct-2012104 108

d_tan.cH A D11-Oct-2012102 108

d_tanh.cH A D11-Oct-2012104 108

derf_.cH A D11-Oct-2012106 97

derfc_.cH A D11-Oct-2012110 107

dtime_.cH A D11-Oct-2012821 5044

ef1asc_.cH A D11-Oct-2012371 1610

ef1cmc_.cH A D11-Oct-2012262 117

erf_.cH A D11-Oct-201299 97

erfc_.cH A D11-Oct-2012102 97

etime_.cH A D11-Oct-2012685 4438

exit_.cH A D11-Oct-2012339 2614

f2ch.addH A D11-Oct-20126.4 KiB164162

getarg_.cH A D11-Oct-2012458 2617

getenv_.cH A D11-Oct-20121 KiB5035

h_abs.cH A D11-Oct-2012100 108

h_dim.cH A D11-Oct-2012100 86

h_dnnt.cH A D11-Oct-2012153 108

h_indx.cH A D11-Oct-2012332 2420

h_len.cH A D11-Oct-2012100 86

h_mod.cH A D11-Oct-201278 86

h_nint.cH A D11-Oct-2012146 108

h_sign.cH A D11-Oct-2012138 108

hl_ge.cH A D11-Oct-2012175 97

hl_gt.cH A D11-Oct-2012174 97

hl_le.cH A D11-Oct-2012175 97

hl_lt.cH A D11-Oct-2012174 97

i_abs.cH A D11-Oct-201298 108

i_dim.cH A D11-Oct-201297 86

i_dnnt.cH A D11-Oct-2012151 108

i_indx.cH A D11-Oct-2012320 2420

i_len.cH A D11-Oct-201299 86

i_mod.cH A D11-Oct-201283 86

i_nint.cH A D11-Oct-2012144 108

i_sign.cH A D11-Oct-2012134 108

iargc_.cH A D11-Oct-201296 97

l_ge.cH A D11-Oct-2012169 97

l_gt.cH A D11-Oct-2012168 97

l_le.cH A D11-Oct-2012169 97

l_lt.cH A D11-Oct-2012168 97

lbitbits.cH A D11-Oct-2012974 5951

lbitshft.cH A D11-Oct-2012123 86

main.cH A D11-Oct-2012731 3628

makefile.netlibH A D11-Oct-20123.9 KiB10468

pow_ci.cH A D11-Oct-2012267 1712

pow_dd.cH A D11-Oct-2012127 108

pow_di.cH A D11-Oct-2012347 3329

pow_hh.cH A D11-Oct-2012386 3228

pow_ii.cH A D11-Oct-2012387 3228

pow_qq.cH A D11-Oct-2012416 3228

pow_ri.cH A D11-Oct-2012341 3329

pow_zi.cH A D11-Oct-2012737 5146

pow_zz.cH A D11-Oct-2012500 2620

qbitbits.cH A D11-Oct-20121,011 6354

qbitshft.cH A D11-Oct-2012123 86

r_abs.cH A D11-Oct-201294 108

r_acos.cH A D11-Oct-201298 108

r_asin.cH A D11-Oct-201298 108

r_atan.cH A D11-Oct-201298 108

r_atn2.cH A D11-Oct-2012113 108

r_cnjg.cH A D11-Oct-2012108 108

r_cos.cH A D11-Oct-201296 108

r_cosh.cH A D11-Oct-201298 108

r_dim.cH A D11-Oct-201290 86

r_exp.cH A D11-Oct-201296 108

r_imag.cH A D11-Oct-201267 86

r_int.cH A D11-Oct-2012124 108

r_lg10.cH A D11-Oct-2012145 129

r_log.cH A D11-Oct-201296 108

r_mod.cH A D11-Oct-2012522 3432

r_nint.cH A D11-Oct-2012135 108

r_sign.cH A D11-Oct-2012126 108

r_sin.cH A D11-Oct-201296 108

r_sinh.cH A D11-Oct-201298 108

r_sqrt.cH A D11-Oct-201298 108

r_tan.cH A D11-Oct-201296 108

r_tanh.cH A D11-Oct-201298 108

s_cat.cH A D11-Oct-20121.2 KiB7163

s_cmp.cH A D11-Oct-2012647 5043

s_copy.cH A D11-Oct-2012893 5138

s_paus.cH A D11-Oct-20121.4 KiB7266

s_rnge.cH A D11-Oct-2012592 2318

s_stop.cH A D11-Oct-2012581 3324

setarg.cH A D11-Oct-2012246 159

setsig.cH A D11-Oct-20121.2 KiB8770

sig_die.cH A D11-Oct-2012541 3831

signal1.hH A D11-Oct-2012187 61

signal1.h0H A D11-Oct-2012727 2720

signal_.cH A D11-Oct-2012164 129

system_.cH A D11-Oct-2012504 2922

z_abs.cH A D11-Oct-2012121 97

z_cos.cH A D11-Oct-2012195 1210

z_div.cH A D11-Oct-2012809 4238

z_exp.cH A D11-Oct-2012201 1411

z_log.cH A D11-Oct-20121.1 KiB6054

z_sin.cH A D11-Oct-2012194 1210

z_sqrt.cH A D11-Oct-2012454 2623

README.netlib

1If your compiler does not recognize ANSI C headers,
2compile with KR_headers defined:  either add -DKR_headers
3to the definition of CFLAGS in the makefile, or insert
4
5#define KR_headers
6
7at the top of f2c.h , cabs.c , main.c , and sig_die.c .
8
9Under MS-DOS, compile s_paus.c with -DMSDOS.
10
11If you have a really ancient K&R C compiler that does not understand
12void, add -Dvoid=int to the definition of CFLAGS in the makefile.
13
14If you use a C++ compiler, first create a local f2c.h by appending
15f2ch.add to the usual f2c.h, e.g., by issuing the command
16	make f2c.h
17which assumes f2c.h is installed in /usr/include .
18
19If your system lacks onexit() and you are not using an ANSI C
20compiler, then you should compile main.c, s_paus.c, s_stop.c, and
21sig_die.c with NO_ONEXIT defined.  See the comments about onexit in
22the makefile.
23
24If your system has a double drem() function such that drem(a,b)
25is the IEEE remainder function (with double a, b), then you may
26wish to compile r_mod.c and d_mod.c with IEEE_drem defined.
27On some systems, you may also need to compile with -Ddrem=remainder .
28
29To check for transmission errors, issue the command
30	make check
31This assumes you have the xsum program whose source, xsum.c,
32is distributed as part of "all from f2c/src".  If you do not
33have xsum, you can obtain xsum.c by sending the following E-mail
34message to netlib@netlib.bell-labs.com
35	send xsum.c from f2c/src
36
37The makefile assumes you have installed f2c.h in a standard
38place (and does not cause recompilation when f2c.h is changed);
39f2c.h comes with "all from f2c" (the source for f2c) and is
40available separately ("f2c.h from f2c").
41
42Most of the routines in libF77 are support routines for Fortran
43intrinsic functions or for operations that f2c chooses not
44to do "in line".  There are a few exceptions, summarized below --
45functions and subroutines that appear to your program as ordinary
46external Fortran routines.
47
481.	CALL ABORT prints a message and causes a core dump.
49
502.	ERF(r) and DERF(d) and the REAL and DOUBLE PRECISION
51	error functions (with x REAL and d DOUBLE PRECISION);
52	DERF must be declared DOUBLE PRECISION in your program.
53	Both ERF and DERF assume your C library provides the
54	underlying erf() function (which not all systems do).
55
563.	ERFC(r) and DERFC(d) are the complementary error functions:
57	ERFC(r) = 1 - ERF(r) and DERFC(d) = 1.d0 - DERFC(d)
58	(except that their results may be more accurate than
59	explicitly evaluating the above formulae would give).
60	Again, ERFC and r are REAL, and DERFC and d are DOUBLE
61	PRECISION (and must be declared as such in your program),
62	and ERFC and DERFC rely on your system's erfc().
63
644.	CALL GETARG(n,s), where n is an INTEGER and s is a CHARACTER
65	variable, sets s to the n-th command-line argument (or to
66	all blanks if there are fewer than n command-line arguments);
67	CALL GETARG(0,s) sets s to the name of the program (on systems
68	that support this feature).  See IARGC below.
69
705.	CALL GETENV(name, value), where name and value are of type
71	CHARACTER, sets value to the environment value, $name, of
72	name (or to blanks if $name has not been set).
73
746.	NARGS = IARGC() sets NARGS to the number of command-line
75	arguments (an INTEGER value).
76
777.	CALL SIGNAL(n,func), where n is an INTEGER and func is an
78	EXTERNAL procedure, arranges for func to be invoked when
79	signal n occurs (on systems where this makes sense).
80
818.	CALL SYSTEM(cmd), where cmd is of type CHARACTER, passes
82	cmd to the system's command processor (on systems where
83	this can be done).
84
85The makefile does not attempt to compile pow_qq.c, qbitbits.c,
86and qbitshft.c, which are meant for use with INTEGER*8.  To use
87INTEGER*8, you must modify f2c.h to declare longint and ulongint
88appropriately; then add pow_qq.o to the POW = line in the makefile,
89and add " qbitbits.o qbitshft.o" to the makefile's F90BIT = line.
90
91Following Fortran 90, s_cat.c and s_copy.c allow the target of a
92(character string) assignment to be appear on its right-hand, at
93the cost of some extra overhead for all run-time concatenations.
94If you prefer the  extra efficiency that comes with the Fortran 77
95requirement that the left-hand side of a character assignment not
96be involved in the right-hand side, compile s_cat.c and s_copy.c
97with -DNO_OVERWRITE .
98
99If your system lacks a ranlib command, you don't need it.
100Either comment out the makefile's ranlib invocation, or install
101a harmless "ranlib" command somewhere in your PATH, such as the
102one-line shell script
103
104	exit 0
105
106or (on some systems)
107
108	exec /usr/bin/ar lts $1 >/dev/null
109
110If your compiler complains about the signal calls in main.c, s_paus.c,
111and signal_.c, you may need to adjust signal1.h suitably.  See the
112comments in signal1.h.
113