libsunmath
(3LIB)
Name
libsunmath - Sun legacy math library
Synopsis
cc [ flag ... ] file ... -lsunmath -lm [ library ]
Description
This library provides additional mathematical functions and floating point arithmetic
routines beyond those in libm. These functions are not specified by
any standard, although some provide facilities recommended by IEEE 754-1985.
Interfaces
The shared object libsunmath.so.1 provides the public interfaces
listed below. For additional information on shared object interfaces, see the Intro (3) man page.
abrupt_underflow_
|
acosd
|
acosdf
|
acosdl
|
acosp
|
acospf
|
acospi
|
acospif
|
acospil
|
acospl
|
aint
|
aintf
|
aintl
|
anint
|
anintf
|
anintl
|
annuity
|
annuityf
|
annuityl
|
asind
|
asindf
|
asindl
|
asinp
|
asinpf
|
asinpi
|
asinpif
|
asinpil
|
asinpl
|
atan2d
|
atan2df
|
atan2dl
|
atan2pi
|
atan2pif
|
atan2pil
|
atand
|
atandf
|
atandl
|
atanp
|
atanpf
|
atanpi
|
atanpif
|
atanpil
|
atanpl
|
compound
|
compoundf
|
compoundl
|
convert_external
|
convert_external_
|
cosd
|
cosdf
|
cosdl
|
cosp
|
cospf
|
cospi
|
cospif
|
cospil
|
cospl
|
d_addran_
|
d_addrans_
|
d_get_addrans_
|
d_init_addrans_
|
d_lcran_
|
d_lcrans_
|
d_mwcran_
|
d_mwcrans_
|
d_set_addrans_
|
d_shufrans_
|
drem
|
exp10
|
exp10f
|
exp10l
|
finitef
|
finitel
|
fp_class
|
fp_classf
|
fp_classl
|
gradual_underflow_
|
i_addran_
|
i_addrans_
|
i_get_addrans_
|
i_get_lcrans_
|
i_get_mwcrans_
|
i_init_addrans_
|
i_init_lcrans_
|
i_init_mwcrans_
|
i_lcran_
|
i_lcrans_
|
i_llmwcran_
|
i_llmwcrans_
|
i_lmwcran_
|
i_lmwcrans_
|
i_mwcran_
|
i_mwcrans_
|
i_set_addrans_
|
i_set_lcrans_
|
i_set_mwcrans_
|
i_shufrans_
|
ieee_flags
|
ieee_flags_
|
ieee_handler
|
ieee_handler_
|
ieee_retrospective
|
ieee_retrospective_
|
infinity
|
infinityf
|
infinityl
|
irint
|
irintf
|
irintl
|
isinf
|
isinff
|
isinfl
|
isnormal
|
isnormalf
|
isnormall
|
issubnormal
|
issubnormalf
|
issubnormall
|
iszero
|
iszerof
|
iszerol
|
max_normal
|
max_normalf
|
max_normall
|
max_subnormal
|
max_subnormalf
|
max_subnormall
|
min_normal
|
min_normalf
|
min_normall
|
min_subnormal
|
min_subnormalf
|
min_subnormall
|
nint
|
nintf
|
nintl
|
nonstandard_arithmetic
|
nonstandard_arithmetic_
|
quiet_nan
|
quiet_nanf
|
quiet_nanl
|
r_addran_
|
r_addrans_
|
r_get_addrans_
|
r_init_addrans_
|
r_lcran_
|
r_lcrans_
|
r_mwcran_
|
r_mwcrans_
|
r_set_addrans_
|
r_shufrans_
|
sigfpe_
|
signaling_nan
|
signaling_nanf
|
signaling_nanl
|
signbit
|
signbitf
|
signbitl
|
sincosd
|
sincosdf
|
sincosdl
|
sincosp
|
sincospf
|
sincospi
|
sincospif
|
sincospil
|
sincospl
|
sind
|
sindf
|
sindl
|
sinp
|
sinpf
|
sinpi
|
sinpif
|
sinpil
|
sinpl
|
smwcran_
|
standard_arithmetic
|
standard_arithmetic_
|
tand
|
tandf
|
tandl
|
tanp
|
tanpf
|
tanpi
|
tanpif
|
tanpil
|
tanpl
|
u_addrans_
|
u_lcrans_
|
u_llmwcran_
|
u_llmwcrans_
|
u_lmwcran_
|
u_lmwcrans_
|
u_mwcran_
|
u_mwcrans_
|
u_shufrans_
|
|
|
Files
- /lib/libsunmath.so.1
-
Shared object
- /lib/64/libsunmath.so.1
-
64-bit shared object
Attributes
See attributes (7) for descriptions of the following attributes:
|
|
Availability
|
system/library/math
|
MT-Level
|
MT-Safe
|
|
See Also
Intro (3) , libm(3LIB), attributes (7)
Notes
The mathematical functions in libsunmath handle special cases and
exceptions in the spirit of IEEE 754-1985. Functions whose values are generally not
exactly representable, such as the scaled trigonometric functions or the financial
functions, deliver results that are accurate to within a few units in the last place.
They may not be correctly rounded according to the prevailing rounding modes, however,
and the inexact exception may not be treated correctly (that is, raised or not raised,
as appropriate).