INTRO(3M) — Unix Programmer’s Manual
NAME
intro − introduction to mathematical library functions
DESCRIPTION
These functions constitute the math library, libm. They are automatically loaded as needed by the Fortran compiler f77(1). The link editor searches this library under the -lm option. Declarations for these functions may be obtained from the “math.h” include file.
There are actually several versions of this library. The Fortran and C compilers automatically use the appropriate version. When linking by hand, the user must specify the correct library, using one of the following options.
OPTIONS
−lm References the math library /usr/lib/libm.a, for use with IEEE floating point format software (68010 or 68020-based systems).
−lmm References the math library /usr/lib/libmm.a for use with the 68881 floating point (68020) coprocessor.
−lskym References the math library /usr/lib/libskym.a, for use with the IEEE Sky board floating point processor (on 68010-based systems only).
−ldecm References the math library /usr/lib/libdecm.a, for use with DEC floating point format software (on 68010-based systems only).
4th Berkeley Distribution — 30 January 1986