HP C/iX Library Reference Manual (30026-90004)
40 Chapter4
HP C/iX Library Header Descriptions
Header File Contents
jn() function Return Bessel functions of
x
of the first kind of order i.
ldexp() function Accepts a double value and an integer exponent and returns a
double quantity equal to N * 2
exp
.
log() function Returns the natural logarithm of a positive number.
log10() function Returns the logarithm base ten of a positive number.
exception type
definition
A data type definition used with the non-standard matherr
function.
M_E macro The base of natural logarithms (e).
M_LOG2E macro The base-2 logarithm of e.
M_LOG10E macro The base-10 logarithm of e.
M_LN2 macro The natural logarithm of 2.
M_LN10 macro The natural logarithm of 10.
M_PI macro The ratio of the circumference of a circle to its diameter.
M_PI_2 macro Half of the ratio of the circumference of a circle to its diameter.
M_PI_4 macro One quarter of the ratio of the circumference of a circle to its
diameter.
M_1_PI macro The reciprocal of the ratio of the circumference of a circle to its
diameter.
M_2_PI
d
macro Two times the reciprocal of the ratio of the circumference of a
circle to its diameter.
M_2_SQRTPI macro The square root of the ratio of the circumference of a circle to its
diameter.
M_SQRT2 macro The positive square root of 2.
M_SQRT1_2 macro The positive square root of 1/2.
MAXFLOAT macro The largest floating-point number allowed with this architecture.
matherr() function A user written call-back routine that can be invoked by many
functions in the math library when errors are detected.
modf() function Accepts a double value and splits the value into its integer and
fractional parts.
OVERFLOW macro An integral constant returned through errno when an arithmetic
overflow has occurred.
PLOSS macro An integral constant returned through errno when a significant
loss of precision has occurred.
Table 4-6. Math Library Functions <math.h>
Name Type Description