INTRO(3F) RISC/os Reference Manual INTRO(3F)
NAME
intro - introduction to FORTRAN library functions
DESCRIPTION
This section describes functions that are in the Fortran
runtime library.
The math intrinsics required by the 1977 Fortran standard
are available, although not described here. In addition,
the abs, sqrt, exp, log, sin, and cos intrinsics have been
extended for double complex values. They can be referenced
using the generic names listed above, or they can be refer-
enced using their specific names that consist of the generic
names preceded by either cd or z. For example, if zz is
double complex, then sqrt(zz), zsqrt(zz), or cdsqrt(zz) com-
pute the square root of zz. The dcmplx intrinsic forms a
double complex value from two double precision variables or
expressions, and the name of the specific function for the
conjugate of a double complex value is dconjg.
Most of these functions are in libU77.a. Some are in
libF77.a or libI77.a.
For efficiency, the SCCS ID strings are not normally
included in the a.out file. To include them, simply declare
external f77lid
in any f77 module.
LIST OF FUNCTIONS
Name Appears on Page Description
abort abort(3F) terminate Fortran program
abs abs(3F) absolute value
access access(3F) determine accessibility of a file
acos acos(3F) arccosine intrinsic function
aimag aimag(3F) imaginary part of complex argument
aint aint(3F) integer part intrinsic function
alarm alarm(3F) execute a subroutine after a specified time
alog log(3F) natural logarithm intrinsic function
alog10 log10(3F) common logarithm intrinsic function
amax0 max(3F) maximum-value functions
amax1 max(3F) maximum-value functions
amin0 min(3F) minimum-value functions
amin1 min(3F) minimum-value functions
amod mod(3F) remaindering intrinsic functions
and bool(3F) Bitwise Boolean functions
anint round(3F) nearest integer functions
asin asin(3F) arcsine intrinsic function
atan atan(3F) arctangent intrinsic function
atan2 atan2(3F) arctangent intrinsic function
btest mil(3F) Military Standard functions
Printed 11/19/92 Page 1
INTRO(3F) RISC/os Reference Manual INTRO(3F)
cabs abs(3F) absolute value
ccos cos(3F) cosine intrinsic function
cexp exp(3F) exponential intrinsic function
char ftype(3F) explicit type conversion
chdir chdir(3F) change default directory
chmod chmod(3F) change mode of a file
clog log(3F) natural logarithm intrinsic function
cmplx ftype(3F) explicit type conversion
conjg conjg(3F) complex conjugate intrinsic function
cos cos(3F) cosine intrinsic function
cosh cosh(3F) hyperbolic cosine intrinsic function
csin sin(3F) intrinsic function
csqrt sqrt(3F) square root intrinsic function
dabs abs(3F) absolute value
dacos acos(3F) arccosine intrinsic function
dasin asin(3F) arcsine intrinsic function
datan atan(3F) arctangent intrinsic function
datan2 atan2(3F) arctangent intrinsic function
dble ftype(3F) explicit type conversion
dcmplx ftype(3F) explicit type conversion
dconjg conjg(3F) complex conjugate intrinsic function
dcos cos(3F) cosine intrinsic function
dcosh cosh(3F) hyperbolic cosine intrinsic function
ddim dim(3F) positive difference intrinsic functions
dexp exp(3F) exponential intrinsic function
dim dim(3F) positive difference intrinsic functions
dimag aimag(3F) imaginary part of complex argument
dint aint(3F) integer part intrinsic function
dlog log(3F) natural logarithm intrinsic function
dlog10 log10(3F) common logarithm intrinsic function
dmax1 max(3F) maximum-value functions
dmin1 min(3F) minimum-value functions
dmod mod(3F) remaindering intrinsic functions
dnint round(3F) nearest integer functions
dprod dprod(3F) double precision product intrinsic function
dsign sign(3F) transfer-of-sign intrinsic function
dsin sin(3F) intrinsic function
dsinh sinh(3F) hyperbolic sine intrinsic function
dsqr sqrt(3F) square root intrinsic function
dtan tan(3F) tangent intrinsic function
dtanh tanh(3F) hyperbolic tangent intrinsic function
exp exp(3F) exponential intrinsic function
fdate fdate(3F) return date and time in an ASCII string
float ftype(3F) explicit type conversion
flush flush(3F) flush output to a logical unit
fork fork(3F) create a copy of this process
getarg getarg(3F) return command line arguments
getenv getenv(3F) get value of environment variables
getlog getlog(3F) get user's login name
getpid getpid(3F) get process id
iabs abs(3F) absolute value
iand mil(3F) Military Standard functions
Page 2 Printed 11/19/92
INTRO(3F) RISC/os Reference Manual INTRO(3F)
iargc getarg(3F) return command line arguments
iargc iargc(3F) return the number of command line arguments
ibclr mil(3F) Military Standard functions
ibits mil(3F) Military Standard functions
ibset mil(3F) Military Standard functions
ichar ftype(3F) explicit type conversion
idate idate(3F) return date or time in numerical form
idim dim(3F) positive difference intrinsic functions
idint ftype(3F) explicit type conversion
idnint round(3F) nearest integer functions
ieor mil(3F) Military Standard functions
ifix ftype(3F) explicit type conversion
index index(3F) return location of substring
int ftype(3F) explicit type conversion
intro intro(3F) introduction to library functions
ior mil(3F) Military Standard functions
ishft mil(3F) Military Standard functions
ishftc mil(3F) Military Standard functions
isign sign(3F) transfer-of-sign intrinsic function
itime idate(3F) return date or time in numerical form
kill kill(3F) send a signal to a process
len len(3F) return length of Fortran string
lge strcmp(3F) string comparison intrinsic functions
lgt strcmp(3F) string comparison intrinsic functions
link link(3F) make a link to an existing file
lle strcmp(3F) string comparison intrinsic functions
llt strcmp(3F) string comparison intrinsic functions
loc loc(3F) return the address of an object
log log(3F) natural logarithm intrinsic function
log10 log10(3F) common logarithm intrinsic function
lshift bool(3F) Bitwise Boolean functions
max max(3F) maximum-value functions
max0 max(3F) maximum-value functions
max1 max(3F) maximum-value functions
mclock mclock(3F) return time accounting
min min(3F) minimum-value functions
min0 min(3F) minimum-value functions
min1 min(3F) minimum-value functions
mod mod(3F) remaindering intrinsic functions
mvbits mil(3F) Military Standard functions
nint round(3F) nearest integer functions
not bool(3F) Bitwise Boolean functions
not mil(3F) Military Standard functions
or bool(3F) Bitwise Boolean functions
qsort qsort(3F) quick sort
real ftype(3F) explicit type conversion
rshift bool(3F) Bitwise Boolean functions
sign sign(3F) transfer-of-sign intrinsic function
signal signal(3F) change the action for a signal
sin sin(3F) intrinsic function
sine sin(3F) intrinsic function
sinh sinh(3F) hyperbolic sine intrinsic function
Printed 11/19/92 Page 3
INTRO(3F) RISC/os Reference Manual INTRO(3F)
sleep sleep(3F) suspend execution for an interval
sngl ftype(3F) explicit type conversion
sqrt sqrt(3F) square root intrinsic function
system system(3F) execute a UNIX command
tan tan(3F) tangent intrinsic function
tanh tanh(3F) hyperbolic tangent intrinsic function
unlink unlink(3F) remove a directory entry
wait wait(3F) wait for a process to terminate
xor bool(3F) Bitwise Boolean functions
zabs abs(3F) absolute value
Page 4 Printed 11/19/92