Manual Pages for UNIX Darwin command on man logl
MyWebUniversity

Manual Pages for UNIX Darwin command on man logl

LOG(3) BSD Library Functions Manual LOG(3)

NAME

lloogg, lloogg22, lloogg1100, lloogg11pp, - logarithm functions

SYNOPSIS

##iinncclluuddee <>

double lloogg(double x); long double llooggll(long double x); float llooggff(float x); double lloogg22(double x); long double lloogg22ll(long double x); float lloogg22ff(float x); double lloogg1100(double x); long double lloogg1100ll(long double x); float lloogg1100ff(float x); double lloogg11pp(double x); long double lloogg11ppll(long double x); float lloogg11ppff(float x);

DESCRIPTION

The lloogg() function computes the value of the natural logarithm of argu-

ment x. The lloogg22() function computes the value of the logarithm of argument x to base 2. The lloogg1100() function computes the value of the logarithm of argument x to base 10. The lloogg11pp() function computes the value of log(1+x) accurately even for very small values of x. SSPPEECCIIAALL VVAALLUUEESS

lloogg(+-0) , lloogg22(+-0) , and lloogg1100(+-0) return -infinity and raise the

"divide-by-zero" floating-point exception.

lloogg(1) , lloogg22(1) , and lloogg1100(1) return +0. lloogg(x) , lloogg22(x) , and lloogg1100(x) return a NaN and raise the "invalid"

floating-point exception for x < 0.

lloogg(+infinity) , lloogg22(+infinity) , and lloogg1100(+infinity) return +infinity.

lloogg11pp(+-0) returns +-0.

lloogg11pp(-1) returns -infinity and raises the "divide-by-zero" floating-

point exception.

lloogg11pp(x) returns a NaN and raises the "invalid" floating-point exception

for x < -1.

lloogg11pp(+infinity) returns +infinity.

SEE ALSO

math(3), exp(3), exp2(3), expm1(3), pow(3) STANDARDS The lloogg() , lloogg22() , lloogg1100() , and lloogg11pp() functions conform to ISO/IEC 9899:1999(E). 4th Berkeley Distribution July 2, 2003 4th Berkeley Distribution




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™