11

Contents of the Math Libraries

Altogether, there are three math libraries:

libm.a—A set of functions required by the various standards to which the operating system conforms

libm.so—(Solaris 2.x only) The shared version of libm.a

libsunmath.a—A set of functions not required by the standards, but are of common use

Table 11-1 lists the contents of the math libraries.

Table 11-1Contents of Math Libraries

Algebraic functions

Rootsm+

Euclidean distancem+, s

Transcendental functions

Elementary transcendental functions

Trigonometric functions

Trigonometric functions of radian argumentsm+

Trigonometric functions of degree arguments s

Trigonometric functions (scaled in Pi)s

Trigonometric functions (with double precision Pi) s

Hyperbolic functionsm+

Exponential, logarithm, powerm+, s

Financial functionss

Higher transcendental functions

Besselm+

Gammam+

Error functionm+

Integral rounding functionsm+, s

234

Pascal 4.0 User’s Guide